巡乐会抽奖接口提交.-后台巡乐会列表提交
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user