shish 4 tahun lalu
induk
melakukan
3eba3f37b7
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      console/controllers/InitController.php

+ 4 - 0
console/controllers/InitController.php

@@ -24,6 +24,10 @@ class InitController extends Controller
         if (!empty($list)) {
             foreach ($list as $order) {
                 $order->status = 2;
+                if ($order->addTime < '2022-08-03 00:00:00' && $order->shopAdminId != 126651) {
+                    $order->status = 4;
+                    echo $order->id . "\n";
+                }
                 $order->save();
             }
         }