|
@@ -173,15 +173,15 @@ func (s *Subscribepay) Introduce() error {
|
|
|
//所有参数都不再使用,跳到微信验证用户
|
|
|
return s.Redirect(fmt.Sprintf(config.Wxoauth, url.QueryEscape(s.Site()+s.Url()), "wx"), 302)
|
|
|
}
|
|
|
- return s.Redirect("/swordfish/about")
|
|
|
+ return s.Redirect("/swordfish/about?v=0")
|
|
|
}
|
|
|
}
|
|
|
if userId == "" {
|
|
|
- return s.Redirect("/swordfish/about")
|
|
|
+ return s.Redirect("/swordfish/about?v=1")
|
|
|
}
|
|
|
m, ok := public.MQFW.FindById("user", userId, `{"o_vipjy":1,"i_vip_status":1}`)
|
|
|
if !ok {
|
|
|
- return s.Redirect("/swordfish/about")
|
|
|
+ return s.Redirect("/swordfish/about?v=2")
|
|
|
}
|
|
|
nowTime := time.Now().Unix()
|
|
|
if nowTime >= liveActiveStartTime && nowTime < liveActiveEndTime {
|