瀏覽代碼

feat:修改三级页redisKey

zhangxinlei1996 3 年之前
父節點
當前提交
55bb85af1c
共有 1 個文件被更改,包括 1 次插入1 次删除
  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")