From 017224cf8f394487942cd5060da6a69ecdeeeacd Mon Sep 17 00:00:00 2001 From: hujiebin Date: Mon, 24 Jul 2023 17:42:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=88=BF=E9=97=B4=E4=B8=94=E4=B8=8A?= =?UTF-8?q?=E9=BA=A6=E5=BA=8F=E5=88=97=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- route/group_r/group_mic.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/route/group_r/group_mic.go b/route/group_r/group_mic.go index 5d316d2..8484b94 100644 --- a/route/group_r/group_mic.go +++ b/route/group_r/group_mic.go @@ -550,7 +550,8 @@ func GroupMicIn(c *gin.Context) (*mycontext.MyContext, error) { return myContext, err } if micUser != nil { - if iStr == "" { + // 同房间且上麦序列为空 + if iStr == "" && micUser.GroupUuid == groupUuid { // 非切麦操作 return myContext, bizerr.GroupMicUserHasIn } -- 2.22.0