浏览代码

Merge branch 'feature/v4.8.12-zyh' of qmx/jy into feature/v4.8.12

wangkaiyue 2 年之前
父节点
当前提交
658df31351

+ 2 - 2
src/jfw/front/jyCommon.go

@@ -13,9 +13,9 @@ func init() {
 }
 
 func (p *CommonPage) JyCommonHead() error {
-	return p.Render("/common/pchead.html")
+	return p.Render("/common/include-head.html")
 }
 
 func (p *CommonPage) JyCommonFooter() error {
-	return p.Render("/common/pcbottom.html")
+	return p.Render("/common/include-footer.html")
 }

+ 2 - 0
src/web/templates/common/include-footer.html

@@ -0,0 +1,2 @@
+{{include "/common/pcbottom.html"}}
+{{include "/common/baiducc.html"}}

+ 2 - 0
src/web/templates/common/include-head.html

@@ -0,0 +1,2 @@
+{{include "/common/pnc.html"}}
+{{include "/common/pchead.html"}}