Browse Source

feat:修改三级页redisKey

zhangxinlei1996 3 years ago
parent
commit
55bb85af1c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/jfw/front/shorturl.go

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

@@ -281,7 +281,7 @@ func (s *Short) Article(stype, id string) error {
 			return s.Redirect(fmt.Sprintf("/article/content/%s.html", util.CommonEncodeArticle("content", sid)))
 		}
 
-		catchKey := fmt.Sprintf("jypcdetail_%s_%s_%s_%v_%v_%v_%s", userId, stype, sid, isVip, isEntniche, isMember, nodeStr)
+		catchKey := fmt.Sprintf("jypcdetail_%s_%s_%s_%v_%v_%v_%s", sid, stype, userId, isVip, isEntniche, isMember, nodeStr)
 		//缓存读取
 		if res := redis.Get("other", catchKey); res == nil || res == "" {
 			industry := s.GetString("industry")