作者 lyh

gx数据

@@ -155,7 +155,7 @@ class RenewProjectController extends BaseController @@ -155,7 +155,7 @@ class RenewProjectController extends BaseController
155 $item = [ 155 $item = [
156 'id' => $item['id'], 156 'id' => $item['id'],
157 'title' => $item['title'], 157 'title' => $item['title'],
158 - 'channel' => Channel::getChannelText($item['channel']['user_id'] ?? 0).'-'.($item['mobile'] ?? ''), 158 + 'channel' => Channel::getChannelText($item['channel']['user_id'] ?? 0),
159 'key' => $item['deploy_build']['keyword_num'] ?? 0, 159 'key' => $item['deploy_build']['keyword_num'] ?? 0,
160 'day' => $item['deploy_build']['service_duration'] ?? 0, 160 'day' => $item['deploy_build']['service_duration'] ?? 0,
161 'amount' => $item['payment']['amount'] ?? 0, 161 'amount' => $item['payment']['amount'] ?? 0,
@@ -64,7 +64,8 @@ class Channel extends Base @@ -64,7 +64,8 @@ class Channel extends Base
64 return $sales_id; 64 return $sales_id;
65 } 65 }
66 $channel_alias = self::where('id', $user['channel_id'])->value('alias'); 66 $channel_alias = self::where('id', $user['channel_id'])->value('alias');
67 - $channel_alias = $channel_alias . '-' . $user['name']; 67 + $channel_mobile = self::where('id', $user['channel_id'])->value('contact_mobile');
  68 + $channel_alias = $channel_alias . '-' . $user['name'].'-'.$channel_mobile;
68 Cache::put('channel_alias_'.$sales_id,$channel_alias,24 * 3600); 69 Cache::put('channel_alias_'.$sales_id,$channel_alias,24 * 3600);
69 } 70 }
70 return $channel_alias; 71 return $channel_alias;