|
@@ -5,7 +5,6 @@ import (
|
|
|
"jfw/config"
|
|
|
"jfw/public"
|
|
|
"jfw/wx"
|
|
|
- "log"
|
|
|
"qfw/util/jy"
|
|
|
"regexp"
|
|
|
"strings"
|
|
@@ -174,10 +173,13 @@ func (this *CommonRouter) doPcBigPage(pageSign, types string) error {
|
|
|
}
|
|
|
//没有购买大会员跳转大会员介绍页
|
|
|
if !strings.HasPrefix(pageSign, "svip/ent_ser_portrait") {
|
|
|
- if array := strings.Split(pageSign, "/"); len(array) > 0 {
|
|
|
- pageSign = array[0]
|
|
|
+ for _, v := range strings.Split(pageSign, "/") {
|
|
|
+ if v == "" || v == "desktop" {
|
|
|
+ continue
|
|
|
+ }
|
|
|
+ pageSign = v
|
|
|
+ break
|
|
|
}
|
|
|
- log.Println(bigVipFreePageReg.MatchString(pageSign), "+++", pageSign)
|
|
|
bigBaseMsg := jy.GetBigVipUserBaseMsg(userid, public.Mysql, public.MQFW)
|
|
|
if !bigVipFreePageReg.MatchString(pageSign) {
|
|
|
if bigBaseMsg.Status <= 0 && bigBaseMsg.Vip_BuySet.Upgrade != 1 {
|