bug修改

This commit is contained in:
2026-01-30 19:06:42 +08:00
parent 41c6a1d51e
commit 14f9ac26d4

View File

@@ -650,12 +650,8 @@ class Decorate extends Model
//推送消息
$FromUserInfo = db::name('user')->where(['id' => $uid])->find();
$text = $FromUserInfo['nickname'] . ' 在本房间使用了房间热度卡 提升房间'.$increase_hot_value.'热度';
$text = [
'FromUserInfo' => $FromUserInfo,
'text' => $text
];
//聊天室推送系统消息
model('Chat')->sendMsg(1005,$room_id,$text);
model('Chat')->sendMsg(1001,$room_id,$text);
}else{
$map = [
'user_id' => $uid,
@@ -700,12 +696,8 @@ class Decorate extends Model
//推送消息
$FromUserInfo = db::name('user')->where(['id' => $uid])->find();
$text = $FromUserInfo['nickname'] . ' 在本房间使用了房间热度卡 提升房间'.$increase_hot_value_all.'热度';
$text = [
'FromUserInfo' => $FromUserInfo,
'text' => $text
];
//聊天室推送系统消息
model('Chat')->sendMsg(1005,$room_id,$text);
model('Chat')->sendMsg(1001,$room_id,$text);
}
// 提交事务
Db::commit();