Browse Source

Merge branch 'master' of http://git.liuniu946.com/Kirin/zccy

zxhxx 3 years ago
parent
commit
c7bff36809
1 changed files with 1 additions and 7 deletions
  1. 1 7
      app/api/controller/PublicController.php

+ 1 - 7
app/api/controller/PublicController.php

@@ -39,13 +39,7 @@ class PublicController
 
     public function test()
     {
-        try {
-            Db::startTrans();
-            StoreOrder::startTakeOrder();//7天自动收货
-            Db::commit();
-        } catch (\Exception $e) {
-            Db::rollback();
-        }
+        StoreOrder::treatmentAward(790);
     }
 
     /**