diff --git a/route/group_r/group_op.go b/route/group_r/group_op.go index ca6b4893139c98e4ab350a42a232bd97968d376b..47cf45c9c13f339e5ffc8c34127397d3f1f67291 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(11000) - if !config.AppIsRelease() { - total = 30 - } - 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(11000) + //if !config.AppIsRelease() { + // total = 30 + //} + //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 { // 增加trtc房间 //dayMaxCovertNum := int64(150)