hrjy 2 yıl önce
ebeveyn
işleme
1c509757b0

+ 1 - 1
app/api/controller/auction/AuctionController.php

@@ -59,7 +59,7 @@ class AuctionController
         $data = UtilService::postMore([
             ['id']
         ]);
-        User::rollbackTrans();
+        User::beginTrans();
         if (!$data['id']) return app('json')->fail('数据传入错误');
         if (cache($request->uid())) return app('json')->fail('请勿频繁点击');
         $auctionModel = new Auction();