Commit cb4e6ec3 authored by hujiebin's avatar hujiebin

// cpLevel < 5 级别没有麦位特效

parent 26a94631
......@@ -362,6 +362,10 @@ func (s *GroupMicService) CheckCpOnMic(groupUuid string) {
return
}
for _, pairs := range cpPairs {
level := pairs[2]
if level < 5 { // cpLevel < 5 级别没有麦位特效
continue
}
userId := pairs[0]
cpUserId := pairs[1]
redisLock(redis_key.GetPrefixGroupMicUserInLock(userId), uuid.NewV4().String(), time.Second*2, func() error {
......
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