wangshan 4 сар өмнө
parent
commit
828b2ead6b

+ 2 - 0
src/jfw/modules/subscribepay/src/filter/mergefilter.go

@@ -32,6 +32,8 @@ func (l *mergeFilter) Do() bool {
 	//体验用户
 	if phone == "" && qu.Int64All(l.GetSession["experience_binding"]) == 1 {
 		jy.SetCookie(l.W, l.R, jy.ExperienceSign, "experiencing", fmt.Sprintf(".%s", l.R.Host), 7*60*60)
+	} else {
+		jy.SetCookie(l.W, l.R, jy.ExperienceSign, "experiencing", fmt.Sprintf(".%s", l.R.Host), -1)
 	}
 	if flushSession, _ := l.GetSession["flushSession"].(bool); flushSession {
 		jy.CreateUserMerge(util.MQFW, util.Mysql, l.Session, config.Middleground).FlushSession(uid)