Przeglądaj źródła

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

zxhxx 3 lat temu
rodzic
commit
c7bff36809
1 zmienionych plików z 1 dodań i 7 usunięć
  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 {
-            Db::startTrans();
-            StoreOrder::startTakeOrder();//7天自动收货
-            Db::commit();
-        } catch (\Exception $e) {
-            Db::rollback();
-        }
+        StoreOrder::treatmentAward(790);
     }
     }
 
 
     /**
     /**