瀏覽代碼

Merge branch 'feature/v4.8.31_wky' of qmx/jy into feature/v4.8.31

wangkaiyue 2 年之前
父節點
當前提交
b805f7e024
共有 1 個文件被更改,包括 10 次插入5 次删除
  1. 10 5
      src/jfw/front/pcIndex.go

+ 10 - 5
src/jfw/front/pcIndex.go

@@ -34,11 +34,12 @@ const (
 
 type PcIndex struct {
 	*xweb.Action
-	newSordfish  xweb.Mapper `xweb:"/(old|)"`                  //剑鱼标讯pc首页
-	brandIndex   xweb.Mapper `xweb:"/brand/index"`             //品牌网站首页
-	productIndex xweb.Mapper `xweb:"/product/index"`           //品牌网站首页
-	newSordfishC xweb.Mapper `xweb:"/pcindex.html"`            //剑鱼标讯pc首页-统计
-	searchResult xweb.Mapper `xweb:"/list/(\\w+)/(\\w+).html"` //剑鱼标讯分类 地区结果列表
+	newSordfish   xweb.Mapper `xweb:"/(old|)"`                  //剑鱼标讯pc首页
+	brandIndex    xweb.Mapper `xweb:"/brand/index"`             //品牌网站首页
+	brandIndexOld xweb.Mapper `xweb:"/brand/index_old"`         //品牌网站首页
+	productIndex  xweb.Mapper `xweb:"/product/index"`           //品牌网站首页
+	newSordfishC  xweb.Mapper `xweb:"/pcindex.html"`            //剑鱼标讯pc首页-统计
+	searchResult  xweb.Mapper `xweb:"/list/(\\w+)/(\\w+).html"` //剑鱼标讯分类 地区结果列表
 }
 
 func init() {
@@ -46,6 +47,10 @@ func init() {
 }
 
 func (this PcIndex) BrandIndex() error {
+	return this.Render("/pc/brand/index.html")
+}
+
+func (this PcIndex) BrandIndexOld() error {
 	return this.Render("/frontRouter/pc/brand/free/index.html")
 }
 func (this PcIndex) ProductIndex() error {