二卡八 不推送离线
This commit is contained in:
@@ -931,7 +931,10 @@ class Tencent extends Model
|
|||||||
$text['user_id'] = $uid;
|
$text['user_id'] = $uid;
|
||||||
$text['type'] = 2;
|
$text['type'] = 2;
|
||||||
model('Chat')->sendMsg(1058,$v['room_id'],$text);
|
model('Chat')->sendMsg(1058,$v['room_id'],$text);
|
||||||
}else{
|
}elseif(isset($room_type) && ($room_type['type_id'] == 1||$room_type['type_id'] == 8) && $room_type['type_id'] == 1){
|
||||||
|
return true;
|
||||||
|
}else
|
||||||
|
{
|
||||||
//查询是否有切后台的操作
|
//查询是否有切后台的操作
|
||||||
$bg_room = db::name('vs_user_in_room_bg')->where(['room_id' => $v['room_id'],'user_id' => $v['user_id']])->find();
|
$bg_room = db::name('vs_user_in_room_bg')->where(['room_id' => $v['room_id'],'user_id' => $v['user_id']])->find();
|
||||||
if(!$bg_room){
|
if(!$bg_room){
|
||||||
|
|||||||
Reference in New Issue
Block a user