From 32dfeb8f9b92d1aad0559c5c8cff7484ecc5569a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Tue, 30 Sep 2025 09:09:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E5=8D=A1=E5=85=AB=20=E4=B8=8D?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E7=A6=BB=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Tencent.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/application/api/model/Tencent.php b/application/api/model/Tencent.php index 1a5470d..2ebf313 100644 --- a/application/api/model/Tencent.php +++ b/application/api/model/Tencent.php @@ -931,7 +931,10 @@ class Tencent extends Model $text['user_id'] = $uid; $text['type'] = 2; 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(); if(!$bg_room){