巡乐会抽奖接口提交.-后台巡乐会列表提交

This commit is contained in:
2025-08-30 10:26:15 +08:00
parent 92b34f4433
commit 9b0981bb56
3 changed files with 39 additions and 7 deletions

View File

@@ -85,6 +85,10 @@ class RoomPan
$res = db::name('vs_room_pan_xlh')->where('id',$value['id'])->update([
'send_time' => time()
]);
$xlh_log = db::name('vs_room_pan_xlh_log')->where(['xlh_id'=>$value['id'],'user_id'=>$value['user_id']])->order('id desc')->find();
$res = db::name('vs_room_pan_xlh_log')->where('id',$xlh_log)->update([
'is_send' => 1
]);
if ($res === false) {
echo "处理发放记录失败 \n";
continue;