Browse Source

Merge branch 'master' of http://git.qiniu1314.com/Kirin/shenying

Kirin 1 year ago
parent
commit
b268303d49
1 changed files with 4 additions and 6 deletions
  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) {
+
         }
         }
     }
     }