新需求-活动需求-盲盒转盘调通盘-巡乐会-调试

This commit is contained in:
2025-10-15 16:12:22 +08:00
parent 5e80ea66f1
commit 4a08d656f0

View File

@@ -851,11 +851,11 @@ class BlindBoxTurntableGiftDrawWorld extends Model
// 聊天室推送系统消息 // 聊天室推送系统消息
// 推送 // 推送
$text = [ // $text = [
'xlh_data' => $xlh, // 'xlh_data' => $xlh,
'text' => "" // 'text' => ""
]; // ];
model('Chat')->sendMsg(1056,$room_id,$text); // model('Chat')->sendMsg(1056,$room_id,$text);
} }
/** /**
* 统计礼物数量 * 统计礼物数量
@@ -1415,14 +1415,14 @@ class BlindBoxTurntableGiftDrawWorld extends Model
$room_user = db::name('user')->where('id',$room_data['user_id'])->field('nickname,avatar')->find(); $room_user = db::name('user')->where('id',$room_data['user_id'])->field('nickname,avatar')->find();
//锁定礼物 //锁定礼物
$text = [ // $text = [
'gift_num' => $pan_xlh_num, // 'gift_num' => $pan_xlh_num,
'FromUserInfo' => $FromUserInfo, // 'FromUserInfo' => $FromUserInfo,
'end_time' => $end_time, // 'end_time' => $end_time,
'text' => $FromUserInfo['nickname'] . ' 在 ' . ' 巡乐会活动中 获得' . $gift_info['gift_name'] . '礼物 x 1' // 'text' => $FromUserInfo['nickname'] . ' 在 ' . ' 巡乐会活动中 获得' . $gift_info['gift_name'] . '礼物 x 1'
]; // ];
//
model('Chat')->sendMsg(1057, $room_id, $text); // model('Chat')->sendMsg(1057, $room_id, $text);
//推送礼物横幅 //推送礼物横幅
$text = $FromUserInfo['nickname'] .' 巡乐会活动中锁定礼物'.$locking_gift['gift_name'].' x ' .$pan_xlh_num ; $text = $FromUserInfo['nickname'] .' 巡乐会活动中锁定礼物'.$locking_gift['gift_name'].' x ' .$pan_xlh_num ;