@@ -26,7 +26,6 @@ func BiddingDetail(r *ghttp.Request) {
}
utility.HtmlRender.Render(r, "detail.html", g.Map{
- "hasLogin": utility.JySessionLoginEd(r),
"Request": r.Request,
"areaNode": areaNode,
"detail": detail,
@@ -30,6 +30,7 @@ func (l *localHtmlRender) Render(r *ghttp.Request, fileName string, params ...Pa
if len(params) > 0 {
usedParams = params[0]
+ usedParams["hasLogin"] = JySessionLoginEd(r)
usedParams["Request"] = r.Request
//当移动端未找到模版,渲染pc模版
for _, filePath := range GetCommonRenderCachePaths(r.Request.UserAgent(), fileName) {