瀏覽代碼

wip:日志

wangshan 4 月之前
父節點
當前提交
911ec450d7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/jfw/modules/subscribepay/src/filter/mergefilter.go

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

@@ -33,6 +33,7 @@ func (l *mergeFilter) Do() bool {
 	if phone == "" && qu.Int64All(l.GetSession["experience_binding"]) == 1 {
 	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)
 		jy.SetCookie(l.W, l.R, jy.ExperienceSign, "experiencing", fmt.Sprintf(".%s", l.R.Host), 7*60*60)
 	} else {
 	} else {
+		log.Println(phone, "--experiencing--", l.GetSession["experience_binding"])
 		jy.SetCookie(l.W, l.R, jy.ExperienceSign, "experiencing", fmt.Sprintf(".%s", l.R.Host), -1)
 		jy.SetCookie(l.W, l.R, jy.ExperienceSign, "experiencing", fmt.Sprintf(".%s", l.R.Host), -1)
 	}
 	}
 	if flushSession, _ := l.GetSession["flushSession"].(bool); flushSession {
 	if flushSession, _ := l.GetSession["flushSession"].(bool); flushSession {