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