跟进状态修改、登录返回code、客户统计

This commit is contained in:
2025-03-21 11:42:25 +08:00
parent 196a4a2001
commit 8b23f26dce
4 changed files with 67 additions and 10 deletions
+1
View File
@@ -91,6 +91,7 @@ class Customer extends Model
$customer = Util::formatDate($customer,['follow_last']);
$customer['car_type_name'] = empty($customer['car_type_id'])?'':CarType::where(['id'=>$customer['car_type_id']])->value('name');
$customer['country_name'] = empty($customer['country_id'])?'':Country::where(['id'=>$customer['country_id']])->value('cn_addr');
$customer['channel_name'] = empty($customer['channel_id'])?'':Channel::where(['id'=>$customer['channel_id']])->value('name');
// $customer['last_follow'] = $last_follow;
return $customer;