wangshan 4 сар өмнө
parent
commit
f4a8c59b6f

+ 0 - 10
src/jfw/modules/subscribepay/src/service/userAccountInfo.go

@@ -803,16 +803,6 @@ func (this *UserAccount) PhoneBind() {
 				host = "." + host
 				host = "." + host
 			}
 			}
 			this.Session().Del("experience_binding")
 			this.Session().Del("experience_binding")
-			for i := 0; i < 3; i++ {
-				val, err := this.Request.Cookie(jy.ExperienceSign)
-				log.Println("----Value--------", val.Value, "------Path------", val.Path, "-----Domain-------", val.Domain, "--------Name----", val.Name)
-				if err == nil && val.Value != "" {
-					jy.SetCookie(this.ResponseWriter, this.Request, jy.ExperienceSign, "clear", host, -1)              //过期
-					jy.SetCookie(this.ResponseWriter, this.Request, jy.ExperienceSign, "experiencing", val.Domain, -1) //过期
-					//} else {
-					//	break
-				}
-			}
 			jy.SetCookie(this.ResponseWriter, this.Request, "EXPERIENCE", "over", host, 8*60*60) //结束
 			jy.SetCookie(this.ResponseWriter, this.Request, "EXPERIENCE", "over", host, 8*60*60) //结束
 		}
 		}
 	}
 	}