爆币
This commit is contained in:
@@ -103,7 +103,7 @@ class LotteryService
|
||||
|
||||
// 开启数据库事务
|
||||
Db::startTrans();
|
||||
try {
|
||||
// try {
|
||||
// . 1记录小奖池累计流水(未开奖时)
|
||||
if ($result['is_small_prize'] == 0) {
|
||||
$this->addPoolFlow(
|
||||
@@ -198,10 +198,10 @@ class LotteryService
|
||||
'msg' => '处理成功',
|
||||
'data' => $result
|
||||
];
|
||||
} catch (Exception $e) {
|
||||
Db::rollback();
|
||||
throw new Exception($e->getMessage());
|
||||
}
|
||||
// } catch (Exception $e) {
|
||||
// Db::rollback();
|
||||
// throw new Exception($e->getMessage());
|
||||
// }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user