bug修改同步 推送修改

This commit is contained in:
2025-10-24 22:21:17 +08:00
parent eb75b0d097
commit e59c3e1df6
2 changed files with 72 additions and 30 deletions

View File

@@ -86,6 +86,7 @@ class BlindBoxTurntableGift extends Model
}
$room_name = Db::name('vs_room')->where(['id' => $room_id, 'apply_status' => 2])->value('room_name');
$FromUserInfo = Db::name('user')->where(['id'=>$blind_box_turntable['user_id']])->find();
$FromUserInfo['user_id'] = $FromUserInfo['id'];
$FromUserInfo['icon'][0] = model('UserData')->user_wealth_icon($blind_box_turntable['user_id']);//财富图标
$FromUserInfo['icon'][1] = model('UserData')->user_charm_icon($blind_box_turntable['user_id']);//魅力图标
$FromUserInfo['chat_bubble'] = model('Decorate')->user_decorate_detail($blind_box_turntable['user_id'],9);//聊天气泡
@@ -175,9 +176,6 @@ class BlindBoxTurntableGift extends Model
model('Chat')->sendMsg(1005,$room_id,$effectData);
}
}
// 循环推送每个礼物的特效消息
$roomtype = Db::name('vs_room')->where(['id' => $room_id])->value('type_id');
if($roomtype == 6){
//推送消息