Sfoglia il codice sorgente

导入客户转已到访

yb 1 settimana fa
parent
commit
8ba924a942
1 ha cambiato i file con 5 aggiunte e 4 eliminazioni
  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) {