Kirin 3 rokov pred
rodič
commit
cc3f29a41c
1 zmenil súbory, kde vykonal 1 pridanie a 7 odobranie
  1. 1 7
      app/api/controller/PublicController.php

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

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