Ver código fonte

微信端前端路由

wangshan 4 anos atrás
pai
commit
c490b0271a
1 arquivos alterados com 17 adições e 0 exclusões
  1. 17 0
      src/jfw/front/vipsubscribe.go

+ 17 - 0
src/jfw/front/vipsubscribe.go

@@ -46,12 +46,29 @@ type Subscribepay struct {
 
 	//预热活动链接跳转
 	preheatPoster xweb.Mapper `xweb:"/front/preheat/poster"` //预热活动链接跳转
+
+	upgradeDetail xweb.Mapper `xweb:"/front/vipsubscribe/upgradeDetail"` //新超级订阅介绍页
+	upgradePage   xweb.Mapper `xweb:"/front/vipsubscribe/upgradePage"`   //升级页面
+	//超级订阅企业搜索
+	entSearch xweb.Mapper `xweb:"/front/vipsubscribe/entSearch"` //企业搜索
 }
 
 func init() {
 	xweb.AddAction(&Subscribepay{})
 }
 
+func (s *Subscribepay) EntSearch() {
+	s.Render("/weixin/vipsubscribe/vip_entSearch.html")
+}
+
+func (s *Subscribepay) UpgradeDetail() {
+	s.Render("/weixin/vipsubscribe/vip_UpgradeDetail.html")
+}
+
+func (s *Subscribepay) UpgradePage() {
+	s.Render("/weixin/vipsubscribe/vip_UpgradePage.html")
+}
+
 var (
 	liveActiveStartTime = config.ActiveConfig.Live_Active_Start
 	liveActiveEndTime   = config.ActiveConfig.Live_Active_End