发放礼物加锁

This commit is contained in:
2025-09-09 14:37:25 +08:00
parent 0aecadd263
commit 5e95aa61b1
2 changed files with 4 additions and 1 deletions

View File

@@ -137,7 +137,7 @@ class RoomAuction extends Model
'auction_id' => $auction_id,
'user_id' => $user_id,
'gift_id' => $gift_id,
'gift_price' => $num * $gift_price,
'gift_price' => $ree['data']['gift_total'],
'createtime' => time()
]);
if(!$res){