|
@@ -51,6 +51,10 @@ type Subscribepay struct {
|
|
|
upgradePage xweb.Mapper `xweb:"/front/vipsubscribe/upgradePage"` //升级页面
|
|
|
//超级订阅企业搜索
|
|
|
entSearch xweb.Mapper `xweb:"/front/vipsubscribe/entSearch"` //企业搜索
|
|
|
+
|
|
|
+ //超级订阅改版公共url
|
|
|
+ pcViewPage xweb.Mapper `xweb:"/vipsubscribe/pc/page/(.*)"` //超级订阅pc
|
|
|
+ wxViewPage xweb.Mapper `xweb:"/vipsubscribe/wx/page/(.*)"` //超级订阅wx
|
|
|
}
|
|
|
|
|
|
func init() {
|
|
@@ -405,3 +409,13 @@ func (s *Subscribepay) PreheatPoster() {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+func (this *Subscribepay) PcViewPage(htmlName string) error {
|
|
|
+ this.T["logid"] = config.Seoconfig["bigmember"].(string)
|
|
|
+ return this.Render("/vipsubscribe/pc/page_"+htmlName+".html", &this.T)
|
|
|
+}
|
|
|
+
|
|
|
+func (this *Subscribepay) WxViewPage(htmlName string) error {
|
|
|
+ this.T["logid"] = config.Seoconfig["bigmember"].(string)
|
|
|
+ return this.Render("/vipsubscribe/wx/page_"+htmlName+".html", &this.T)
|
|
|
+}
|