wangshan 2 éve
szülő
commit
4543a4ec93
1 módosított fájl, 1 hozzáadás és 0 törlés
  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")