浏览代码

feat:日志

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