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