Commit abb0ff1c authored by hujiebin's avatar hujiebin

feat:trtc暂停放量

parent 393641d9
...@@ -1767,7 +1767,7 @@ func GroupIn(c *gin.Context) (*mycontext.MyContext, error) { ...@@ -1767,7 +1767,7 @@ func GroupIn(c *gin.Context) (*mycontext.MyContext, error) {
//numKey := rediskey.GetConvertToTRTCNum() //numKey := rediskey.GetConvertToTRTCNum()
//covertNum, err := redisCli.GetCacheInt64(numKey) //covertNum, err := redisCli.GetCacheInt64(numKey)
//if time.Now().Unix() > 1682499704 && err == nil && covertNum <= dayMaxCovertNum { //if time.Now().Unix() > 1682499704 && err == nil && covertNum <= dayMaxCovertNum {
if time.Now().Unix() > 1682499704 { if false && time.Now().Unix() > 1682499704 {
roomUser, err := group_m.GetRoomOnlineUser(myContext, groupId) roomUser, err := group_m.GetRoomOnlineUser(myContext, groupId)
if err == nil && roomUser.Total == 0 { if err == nil && roomUser.Total == 0 {
//newNum, err := redisCli.IncrNumExpire(numKey, 1, time.Hour*24) //newNum, err := redisCli.IncrNumExpire(numKey, 1, time.Hour*24)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment