盲盒转盘优化-重构-调试

This commit is contained in:
2025-10-28 18:58:01 +08:00
parent 752fbece93
commit 50ed633439

View File

@@ -1089,6 +1089,8 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
'updatetime' => time()
]);
}
// 使用insertIgnore防止重复插入记录
db::name('vs_room_pan_xlh_log')->insert([
'xlh_id' => $pan_xlh['id'],
'user_id' => $last_update['user_id'],
@@ -1098,6 +1100,7 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
'createtime' => time()
]);
$is_zhong_jiang = 1;
unset($main_prize_updates);
}else{
$is_zhong_jiang = 0;
}