|
@@ -491,6 +491,7 @@ func (s *Short) LoginCommon(userId, stype, id string) error {
|
|
|
}
|
|
|
var detailKey = util.If(isPay || newCanRead, "pay", "free")
|
|
|
catchKey := fmt.Sprintf("jypcdetail_%s_%s_%s", detailKey, stype, sid)
|
|
|
+ log.Println(catchKey, "-缓存-", userId)
|
|
|
if res := redis.Get(redisLimitation, catchKey); res == nil || res == "" {
|
|
|
redisTimeOut := util.If(isPay || newCanRead, detailRedisByPayTimeOut, detailRedisByFreeTimeOut).(int)
|
|
|
industry := s.GetString("industry")
|