Jelajahi Sumber

客资聊天内容

cqp 1 bulan lalu
induk
melakukan
df639f1582
1 mengubah file dengan 7 tambahan dan 0 penghapusan
  1. 7 0
      app/Service/CustomerService.php

+ 7 - 0
app/Service/CustomerService.php

@@ -538,6 +538,13 @@ class CustomerService extends Service
             ->select($field)
             ->orderby('id', 'desc');
 
+        if(isset($data['c_third_platform_id'])) {
+            if($data['c_third_platform_id'] == 0) {
+                $model->where('c_third_platform_id', 0);
+            }else{
+                $model->where('c_third_platform_id', '>',0);
+            }
+        }
         if(! empty($data['title_t'])) {
             // 清理用户输入,去除前后空白并替换多个连续空格为单个空格
             $cleanTitle = preg_replace('/\s+/', ' ', trim($data['title_t']));