|
@@ -53,6 +53,10 @@ type CommonRouter struct {
|
|
|
//pcweb
|
|
|
webIndex xweb.Mapper `xweb:"/swordfish/page_web_pc/"`
|
|
|
webPcPage xweb.Mapper `xweb:"/swordfish/page_web_pc/(.*)"`
|
|
|
+
|
|
|
+ //socialweb
|
|
|
+ socialIndex xweb.Mapper `xweb:"/swordfish/page_social_pc/"`
|
|
|
+ socialPcPage xweb.Mapper `xweb:"/swordfish/page_social_pc/(.*)"`
|
|
|
}
|
|
|
|
|
|
func init() {
|
|
@@ -110,6 +114,16 @@ func (this *CommonRouter) WebPcPage(page string) error {
|
|
|
return this.Render(fmt.Sprintf("/micro/web-pc/index.html"))
|
|
|
}
|
|
|
|
|
|
+// SocialIndex 前端vue页面公共路由
|
|
|
+func (this *CommonRouter) SocialIndex() error {
|
|
|
+ return this.Render(fmt.Sprintf("/micro/social-pc/index.html"))
|
|
|
+}
|
|
|
+
|
|
|
+// SocialPcPage 前端vue页面公共路由
|
|
|
+func (this *CommonRouter) SocialPcPage(page string) error {
|
|
|
+ return this.Render(fmt.Sprintf("/micro/social-pc/index.html"))
|
|
|
+}
|
|
|
+
|
|
|
//积分
|
|
|
func (this *CommonRouter) IntegralIndex() error {
|
|
|
return this.doIntegralPage()
|