|
@@ -34,7 +34,7 @@ func (ci *CookieInfo) Do(w http.ResponseWriter, req *http.Request) bool {
|
|
|
phone, _ := getSession["phone"].(string)
|
|
|
log.Println(phone, "--host:", host)
|
|
|
if phone == "" && qu.Int64All(getSession["experience_binding"]) == 1 {
|
|
|
- jy.SetCookie(w, req, jy.ExperienceSign, "experiencing", host, 24*60*60)
|
|
|
+ jy.SetCookie(w, req, jy.ExperienceSign, "experiencing", host, 8*60*60)
|
|
|
}
|
|
|
return true
|
|
|
}
|