zhangxinlei1996 3 years ago
parent
commit
a4239cdcfd
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/jfw/modules/common/src/qfw/util/jy/jy.go

+ 3 - 0
src/jfw/modules/common/src/qfw/util/jy/jy.go

@@ -397,6 +397,9 @@ func PutLoginSess(mongodb MongodbSim, apppushRpc, key, userid string, limit, max
 			value = removeArr(value, delId)
 			value = removeArr(value, delId)
 			LoginOutPush(mongodb, userid, delId, apppushRpc)
 			LoginOutPush(mongodb, userid, delId, apppushRpc)
 			log.Println(fmt.Sprintf("%s用户的sessionid 超过最大限制 清除 %s ,到期时间%v", userid, delId, ttlmap[0].value))
 			log.Println(fmt.Sprintf("%s用户的sessionid 超过最大限制 清除 %s ,到期时间%v", userid, delId, ttlmap[0].value))
+			for _, v := range ttlmap {
+				log.Println("%s....%v", v.key, v.value)
+			}
 		}
 		}
 	}
 	}
 	return redis.Put("other", LoginRedisKey(userid), value, -1)
 	return redis.Put("other", LoginRedisKey(userid), value, -1)