|
@@ -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)
|