Kirin hace 1 año
padre
commit
2460e2529b
Se han modificado 1 ficheros con 4 adiciones y 6 borrados
  1. 4 6
      app/controller/api/v1/PublicController.php

+ 4 - 6
app/controller/api/v1/PublicController.php

@@ -68,12 +68,10 @@ class PublicController extends BaseController
 
 
     public function test()
     public function test()
     {
     {
-        $pay = app()->make(ShareOrderJob::class);
-        $orderInfo = StoreOrder::where('id', 728)->find();
-        try {
-            $pay->doJob($orderInfo);
-        } catch (\Exception $e) {
-            var_dump($e->getMessage());
+        $orders = StoreOrder::where('pid', '>', 0)->where('supplier_id', '>', 0)->select();
+        var_dump(count($orders));
+        foreach ($orders as $v) {
+
         }
         }
     }
     }