wangkaiyue 4 жил өмнө
parent
commit
a450bbc7e6

+ 3 - 3
src/jfw/modules/app/src/app/front/bigMember.go

@@ -14,7 +14,7 @@ type NewBigMemberAction struct {
 	powerClear     xweb.Mapper `xweb:"/jyapp/bigMember/powerClear"` //大会员清除redis 服务id缓存
 }
 
-var freePageReg = regexp.MustCompile(`full|landingPage|buy_commit|contrast|orderdetail_*|write_infor|init|set_*|ontrial_commit|bid_*|free_*`)
+var freePageReg = regexp.MustCompile(`full|landingPage|buy_commit|contrast|orderdetail_*|write_infor|init|set_*|ontrial_commit|bid_*|free_*|ent_portrait`)
 
 func init() {
 	jy.InitBigVipService(public.Mysql)
@@ -34,12 +34,12 @@ func (s *NewBigMemberAction) PowerClear() {
 	})
 }
 
-//
+var bigVipFreePageReg = regexp.MustCompile(`free_*|ent_portrait`)
+
 func (s *NewBigMemberAction) VipPageManager(htmlName string) error {
 	if !freePageReg.MatchString(htmlName) {
 		userid, _ := s.GetSession("userId").(string)
 		bigBaseMsg := jy.GetBigVipUserBaseMsg(userid, public.Mysql, public.MQFW)
-
 		//大会员页面权限判断
 		if !bigBaseMsg.CheckBigVipFrontPower(htmlName) {
 			//main_root页面大会员主页面 只要是大会员都可以进入