Selaa lähdekoodia

wip:多余路由删除,菜单链接修改

wangkaiyue 1 vuosi sitten
vanhempi
commit
1699c1d4ea
2 muutettua tiedostoa jossa 3 lisäystä ja 11 poistoa
  1. 3 0
      src/index.yaml
  2. 0 11
      src/jfw/front/frontRouter.go

+ 3 - 0
src/index.yaml

@@ -21,6 +21,9 @@ topMenu:
         href: /list/stype/ZFCG.html
   - title: 项目专区
     child:
+      - name: 拟在建项目
+        href: /list/nzjxm/
+        class: red
       - name: 审批项目
         href: /list/spxm/
       - name: 推荐项目

+ 0 - 11
src/jfw/front/frontRouter.go

@@ -52,10 +52,6 @@ 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/(.*)"`
 
@@ -220,13 +216,6 @@ 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"))
 }