pk room_id 重置修改。
This commit is contained in:
@@ -748,12 +748,9 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
|
||||
if($upRemainingNumber < 0){
|
||||
throw new \Exception('礼物数量不足');
|
||||
}
|
||||
$ret = db::name("vs_gift_bag_detail")->where('id',$giftId)->update([
|
||||
db::name("vs_gift_bag_detail")->where('id',$giftId)->update([
|
||||
'remaining_number' => $upRemainingNumber
|
||||
]);
|
||||
if (!$ret) {
|
||||
throw new \Exception('更新礼物剩余数量失败 ID: ' . $giftId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user