|
@@ -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 {
|