wangshan пре 2 година
родитељ
комит
4543a4ec93
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/jfw/front/shorturl.go

+ 1 - 0
src/jfw/front/shorturl.go

@@ -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")