盲盒转盘优化-重构-调试
This commit is contained in:
@@ -1089,6 +1089,8 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
|
|||||||
'updatetime' => time()
|
'updatetime' => time()
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 使用insertIgnore防止重复插入记录
|
||||||
db::name('vs_room_pan_xlh_log')->insert([
|
db::name('vs_room_pan_xlh_log')->insert([
|
||||||
'xlh_id' => $pan_xlh['id'],
|
'xlh_id' => $pan_xlh['id'],
|
||||||
'user_id' => $last_update['user_id'],
|
'user_id' => $last_update['user_id'],
|
||||||
@@ -1098,6 +1100,7 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
|
|||||||
'createtime' => time()
|
'createtime' => time()
|
||||||
]);
|
]);
|
||||||
$is_zhong_jiang = 1;
|
$is_zhong_jiang = 1;
|
||||||
|
unset($main_prize_updates);
|
||||||
}else{
|
}else{
|
||||||
$is_zhong_jiang = 0;
|
$is_zhong_jiang = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user