瀏覽代碼

导入客户转已到访

yb 2 月之前
父節點
當前提交
8ba924a942
共有 1 個文件被更改,包括 5 次插入4 次删除
  1. 5 4
      app/admin/service/consultant/CustomService.php

+ 5 - 4
app/admin/service/consultant/CustomService.php

@@ -1266,11 +1266,12 @@ class CustomService
                             'create_consultant_id' => $reportConsultantId,
                             'dept_id' => $deptId,
                             'belong_status' => 1,
-                            'current_status' => 1,
-                            'check_status' => 1,
+                            'current_status' => 2,
+                            'check_status' => 2,
+                            'check_note' => '导入的客户信息,无审核人员',
                             'type' => 1,
-                            'visit_time' => time(),
-                            'created_at' => strtotime($val[0]),
+                            'visit_time' => strtotime('2024-08-31 00:00:00'),
+                            'created_at' => strtotime('2024-08-31 00:00:00')
                         ];
                         $result = Db::table('market_customer')->insert($insertData);
                         if ($result) {