Przeglądaj źródła

唯微宝订单定时调整

xialei 1 rok temu
rodzic
commit
b0aad7457e
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      crmeb/listens/GongListen.php

+ 4 - 4
crmeb/listens/GongListen.php

@@ -21,10 +21,10 @@ class GongListen implements ListenerInterface
21 21
         $storeOrderRepository = app()->make(StoreOrderRepository::class);
22 22
         Timer::tick(60000, function () use ($storeOrderRepository) {
23 23
             //每天下午3点执行一次
24
-            if (date('i') == '00') {
24
+            // if (date('i') == '00') {
25 25
                 $storeOrderRepository->douhuomall_delivery();
26
-                $this->mer_365_up();
27
-            }
26
+                // $this->mer_365_up();
27
+            // }
28 28
             //每天晚上1点
29 29
             if (date('H:i') == '01:00') {
30 30
 //                $storeOrderRepository->yihuchashengji();
@@ -34,7 +34,7 @@ class GongListen implements ListenerInterface
34 34
 //                $storeOrderRepository->yihuchafenxiang();
35 35
             }
36 36
             if (date('H:i') == '23:00') {
37
-                $this->take();
37
+                // $this->take();
38 38
             }
39 39
         });
40 40
     }