|
@@ -351,7 +351,6 @@ onceAgain:
|
|
tg.T["HomeOrigin"] = "/tags/home/home.html"
|
|
tg.T["HomeOrigin"] = "/tags/home/home.html"
|
|
tg.T["Home"] = qu.If(platform == "PC", "/", "/jyapp/jylab/mainSearch").(string)
|
|
tg.T["Home"] = qu.If(platform == "PC", "/", "/jyapp/jylab/mainSearch").(string)
|
|
tg.T["isInfoList"] = isInfoList
|
|
tg.T["isInfoList"] = isInfoList
|
|
- tg.T["strategyList"] = jyutil.GetNewStrategy(qu.ObjToString(config.Seoconfig["strategyCode"]), indexNum)
|
|
|
|
//模板redis缓存
|
|
//模板redis缓存
|
|
content, _ := tg.Render4Cache("/tags/index.html", &tg.T)
|
|
content, _ := tg.Render4Cache("/tags/index.html", &tg.T)
|
|
redis.Put("seoCache", tagsMobileKey, string(content), qu.IntAll(config.Seoconfig["contentCache"]))
|
|
redis.Put("seoCache", tagsMobileKey, string(content), qu.IntAll(config.Seoconfig["contentCache"]))
|