From 8c06f31ff8b074cc468a88e93a1f349e1fd1202f Mon Sep 17 00:00:00 2001 From: hujiebin Date: Fri, 28 Apr 2023 16:28:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=81=9C=E6=AD=A2=E5=AF=BC=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- route/group_r/group_op.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/route/group_r/group_op.go b/route/group_r/group_op.go index 7c3a7e8..5366352 100644 --- a/route/group_r/group_op.go +++ b/route/group_r/group_op.go @@ -1762,18 +1762,18 @@ func GroupIn(c *gin.Context) (*mycontext.MyContext, error) { provider := group_e.GroupProvider_SW if group_m.IsUseTRTC(model, groupId) { provider = group_e.GroupProvider_TRTC - total := int64(2000) - if !config.AppIsRelease() { - total = 0 - } - if group_m.CountTRTC(model) > total { - roomUser, err := group_m.GetRoomOnlineUser(myContext, groupId) - if err == nil && roomUser.Total == 0 { - if err := group_m.DeleteTRTC(model, groupId); err == nil { - provider = group_e.GroupProvider_SW - } - } - } + //total := int64(2000) + //if !config.AppIsRelease() { + // total = 0 + //} + //if group_m.CountTRTC(model) > total { + // roomUser, err := group_m.GetRoomOnlineUser(myContext, groupId) + // if err == nil && roomUser.Total == 0 { + // if err := group_m.DeleteTRTC(model, groupId); err == nil { + // provider = group_e.GroupProvider_SW + // } + // } + //} } else { //dayMaxCovertNum := int64(20) //numKey := rediskey.GetConvertToTRTCNum() -- 2.22.0