Commit 80309bb3 authored by chenweijian's avatar chenweijian

3.7

parent 6d3ca393
......@@ -1760,7 +1760,7 @@ func GroupIn(c *gin.Context) (*mycontext.MyContext, error) {
dayMaxCovertNum := int64(20)
numKey := rediskey.GetConvertToTRTCNum()
covertNum, err := redisCli.GetCacheInt64(numKey)
if time.Now().Unix() > 1683820800 && err == nil && covertNum <= dayMaxCovertNum { // todo 1683820800=5月2号,等过审再修改
if time.Now().Unix() > 1682499704 && err == nil && covertNum <= dayMaxCovertNum {
roomUser, err := group_m.GetRoomOnlineUser(myContext, groupId)
if err == nil && roomUser.Total == 0 {
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