|
@@ -4,7 +4,6 @@ import (
|
|
. "app/jyutil"
|
|
. "app/jyutil"
|
|
"encoding/hex"
|
|
"encoding/hex"
|
|
"jfw/public"
|
|
"jfw/public"
|
|
- "log"
|
|
|
|
"qfw/util"
|
|
"qfw/util"
|
|
"qfw/util/jy"
|
|
"qfw/util/jy"
|
|
"strings"
|
|
"strings"
|
|
@@ -100,7 +99,6 @@ func (s *Subscribepay) ToSetPage() {
|
|
if strings.Contains(s.Refer(), "/jyapp/jylab/index") {
|
|
if strings.Contains(s.Refer(), "/jyapp/jylab/index") {
|
|
vSwitch = jy.SwitchService.Vip
|
|
vSwitch = jy.SwitchService.Vip
|
|
}
|
|
}
|
|
- log.Println(vSwitch, "-------------------")
|
|
|
|
if vSwitch != "" {
|
|
if vSwitch != "" {
|
|
if vSwitch == jy.SwitchService.Vip {
|
|
if vSwitch == jy.SwitchService.Vip {
|
|
s.SetSession(jy.SwitchService.SessionKey, jy.SwitchService.Vip)
|
|
s.SetSession(jy.SwitchService.SessionKey, jy.SwitchService.Vip)
|
|
@@ -115,6 +113,10 @@ func (s *Subscribepay) ToSetPage() {
|
|
s.Redirect("/jyapp/big/page/init") //跳转至首次初始化页面
|
|
s.Redirect("/jyapp/big/page/init") //跳转至首次初始化页面
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ //仅免费用户跳转向导页面
|
|
|
|
+ if bigBaseMsg.Status <= 0 && bigBaseMsg.VipStatus <= 0 && isInTSguide(userid) {
|
|
|
|
+ s.Redirect("/jyapp/tenderSubscribe/guide")
|
|
|
|
+ }
|
|
s.Render("/vipsubscribe/vip_index_new.html")
|
|
s.Render("/vipsubscribe/vip_index_new.html")
|
|
}
|
|
}
|
|
|
|
|