|
@@ -52,6 +52,10 @@ type CommonRouter struct {
|
|
|
bigpcIndex xweb.Mapper `xweb:"/swordfish/page_big_pc/"`
|
|
|
bigpcPage xweb.Mapper `xweb:"/swordfish/page_big_pc/(.*)"`
|
|
|
|
|
|
+ //工作桌面外访问
|
|
|
+ bigpcIndexM xweb.Mapper `xweb:"/swordfish/page_big_pc_m/"`
|
|
|
+ bigpcPageM xweb.Mapper `xweb:"/swordfish/page_big_pc_m/(.*)"`
|
|
|
+
|
|
|
//双十一活动留资
|
|
|
activityLeads xweb.Mapper `xweb:"/weixin/leads/(.*)"`
|
|
|
|
|
@@ -216,6 +220,17 @@ func (this *CommonRouter) BigpcPage(htmlPage string) error {
|
|
|
return this.doPcBigPage(htmlPage, types)
|
|
|
}
|
|
|
|
|
|
+func (this *CommonRouter) BigpcIndexM() error {
|
|
|
+ return this.doPcBigPageM()
|
|
|
+}
|
|
|
+func (this *CommonRouter) BigpcPageM(htmlPage string) error {
|
|
|
+ return this.doPcBigPageM()
|
|
|
+}
|
|
|
+
|
|
|
+func (this *CommonRouter) doPcBigPageM() error {
|
|
|
+ return this.Render(fmt.Sprintf("/frontRouter/pc/page_big_pc/sess/index_m.html"))
|
|
|
+}
|
|
|
+
|
|
|
var bigVipFreePageReg = regexp.MustCompile(`set_.*|free|unit_portrayal|analysis_(search|result)|pro_follow_detail|client_portrayal`)
|
|
|
|
|
|
// 工作桌面需求 不需要判断用户权限
|