|
@@ -33,6 +33,10 @@ type CommonRouter struct {
|
|
|
//商机管理
|
|
|
entpcIndex xweb.Mapper `xweb:"/entpc/"`
|
|
|
entpcPage xweb.Mapper `xweb:"/entpc/(.*)"`
|
|
|
+
|
|
|
+ //pc大会员
|
|
|
+ bigpcIndex xweb.Mapper `xweb:"/swordfish/page_big_pc/"`
|
|
|
+ bigpcPage xweb.Mapper `xweb:"/swordfish/page_big_pc/(.*)"`
|
|
|
}
|
|
|
|
|
|
func init() {
|
|
@@ -135,6 +139,22 @@ func (this *CommonRouter) EntpcPage(htmlPage string) error {
|
|
|
return this.Render(fmt.Sprintf("/frontRouter/pc/entpc/sess/index.html"))
|
|
|
}
|
|
|
|
|
|
+//大会员
|
|
|
+func (this *CommonRouter) BigpcIndex() error {
|
|
|
+ userid, _ := this.GetSession("userId").(string)
|
|
|
+ if userid == "" {
|
|
|
+ return this.Redirect("/notin/page")
|
|
|
+ }
|
|
|
+ return this.Render(fmt.Sprintf("/frontRouter/pc/page_big_pc/sess/index.html"))
|
|
|
+}
|
|
|
+func (this *CommonRouter) BigpcPage(htmlPage string) error {
|
|
|
+ userid, _ := this.GetSession("userId").(string)
|
|
|
+ if userid == "" {
|
|
|
+ return this.Redirect("/notin/page")
|
|
|
+ }
|
|
|
+ return this.Render(fmt.Sprintf("/frontRouter/pc/page_big_pc/sess/index.html"))
|
|
|
+}
|
|
|
+
|
|
|
//卡卷
|
|
|
func (this *CommonRouter) CouponIndex() error {
|
|
|
userid, _ := this.GetSession("userId").(string)
|