qyrobot split 350200 biz_type=3

This commit is contained in:
qianhy
2023-04-27 11:20:52 +08:00
committed by lccsw
parent 916d9e8281
commit 07ccda16ee
+10
View File
@@ -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');