Browse Source

feat:修改三级页redisKey

zhangxinlei1996 3 năm trước cách đây
mục cha
commit
55bb85af1c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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")