From 07ccda16ee98eecfa59d44cc43eb1f8a6d10ac5e Mon Sep 17 00:00:00 2001 From: qianhy Date: Thu, 27 Apr 2023 11:20:52 +0800 Subject: [PATCH] qyrobot split 350200 biz_type=3 --- common/libraries/Qyrobot.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/common/libraries/Qyrobot.php b/common/libraries/Qyrobot.php index aa32b57f..579da56c 100644 --- a/common/libraries/Qyrobot.php +++ b/common/libraries/Qyrobot.php @@ -475,6 +475,16 @@ class Qyrobot{ $type_name = $this->ci->biz_model->type_ary($biz_row['type']); $user = $this->ci->app_licheb_users_model->get(['id'=>$order_row['sale_id']],'uname'); $user_info = $user['uname'] ? $user['uname'] : ''; + if ($biz_row['type']==3 && $biz_row['city_id']==350200){ + // 230427 东风店渠道是 翔安嘉越、集美一烁、狸车新能源体验中心、集美钻钻 -> (73, 78, 110, 171) + // 其他的算哪吒店渠道 + if (in_array($biz_row['id'], array(73, 78, 110, 171))){ + $type_name = '东风渠道'; + } + else{ + $type_name = '哪吒渠道'; + } + } $biz_info = "{$city_info} {$biz_row['biz_name']}({$type_name}) {$user_info}"; $brand_row = $this->ci->auto_brand_model->get(['id'=>$order_row['brand_id']],'name');