Browse Source

会员升级

Kirin 1 year ago
parent
commit
8830310ed2
1 changed files with 5 additions and 5 deletions
  1. 5 5
      app/controller/api/v1/PublicController.php

+ 5 - 5
app/controller/api/v1/PublicController.php

@@ -69,11 +69,11 @@ class PublicController extends BaseController
 
     public function test()
     {
-        $orders = StoreOrder::where('pid', '>', 0)->where('supplier_id', '>', 0)->select();
-        var_dump(count($orders));
-        foreach ($orders as $v) {
-            SupplierFinanceJob::dispatch([$v['id'], 1]);
-        }
+//        $orders = StoreOrder::where('pid', '>', 0)->where('supplier_id', '>', 0)->select();
+//        var_dump(count($orders));
+//        foreach ($orders as $v) {
+//            SupplierFinanceJob::dispatch([$v['id'], 1]);
+//        }
     }
 
     public function dealOrderIntegral($order)