Explorar el Código

重跑价格计算

LD hace 5 años
padre
commit
dc422c80ac
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      app/Http/Controllers/TestController.php

+ 4 - 1
app/Http/Controllers/TestController.php

@@ -156,7 +156,10 @@ class TestController extends Controller
     {
         ini_set('max_execution_time',2500);
         ini_set('memory_limit','1526M');
-        $orders = Order::query()->where("updated_at",">=","2021-02-27 00:00:00")->where("wms_status","订单完成")->get();
+        $orders = Order::query()
+            ->where("updated_at",">=","2021-02-28 00:00:00")
+            ->where("wms_status","订单完成")
+            ->get();
         $orders->each(function ($order){
             dump($order->id);
             dispatch(new OrderCreateInstantBill($order));