bug修改
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user