正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -57,7 +57,8 @@ class Channel extends Base | @@ -57,7 +57,8 @@ class Channel extends Base | ||
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | public static function getChannelText($sales_id){ | 59 | public static function getChannelText($sales_id){ |
| 60 | - $channel_alias = Cache::get('channel_alias_'.$sales_id); | 60 | +// $channel_alias = Cache::get('channel_alias_'.$sales_id); |
| 61 | + $channel_alias = ''; | ||
| 61 | if(empty($channel_alias)){ | 62 | if(empty($channel_alias)){ |
| 62 | $user = User::where('id', $sales_id)->select(['name', 'channel_id'])->first(); | 63 | $user = User::where('id', $sales_id)->select(['name', 'channel_id'])->first(); |
| 63 | if(!$user){ | 64 | if(!$user){ |
-
请 注册 或 登录 后发表评论