wangchuanjin hai 1 ano
pai
achega
1bdb2fb3f5
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      core/proxy/broker/outServer/SussBi.go

+ 5 - 5
core/proxy/broker/outServer/SussBi.go

@@ -182,11 +182,11 @@ func (s *sussBi) Filter(r *ghttp.Request) error {
 	md5Val := common.GetMd5String(fmt.Sprintf("%s_%s_%d_%d_%d_%d_%d_%d_%s_%d_%s_%d", ctx.Sess.NickName, ctx.Sess.YyName, ctx.Sess.EntRole, ctx.Sess.EntNicheDis, ctx.Sess.PositionId, ctx.Sess.AccountId, ctx.Sess.EntAccountId, ctx.Sess.EntId, ctx.Sess.EntName, ctx.Sess.EntDeptId, ctx.Sess.EntUserName, ctx.Sess.EntUserId))
 	md5Val := common.GetMd5String(fmt.Sprintf("%s_%s_%d_%d_%d_%d_%d_%d_%s_%d_%s_%d", ctx.Sess.NickName, ctx.Sess.YyName, ctx.Sess.EntRole, ctx.Sess.EntNicheDis, ctx.Sess.PositionId, ctx.Sess.AccountId, ctx.Sess.EntAccountId, ctx.Sess.EntId, ctx.Sess.EntName, ctx.Sess.EntDeptId, ctx.Sess.EntUserName, ctx.Sess.EntUserId))
 	if j_cookie, j_error := r.Request.Cookie("JSESSIONID"); j_error == nil && j_cookie != nil && j_cookie.Value != md5Val {
 	if j_cookie, j_error := r.Request.Cookie("JSESSIONID"); j_error == nil && j_cookie != nil && j_cookie.Value != md5Val {
 		log.Println("========删除 JSESSIONID", j_cookie.Value)
 		log.Println("========删除 JSESSIONID", j_cookie.Value)
-		http.SetCookie(r.Response.ResponseWriter, &http.Cookie{
-			Name:   "JSESSIONID",
-			Path:   "/succbi",
-			MaxAge: -1,
-		})
+		// http.SetCookie(r.Response.ResponseWriter, &http.Cookie{
+		// 	Name:   "JSESSIONID",
+		// 	Path:   "/succbi",
+		// 	MaxAge: -1,
+		// })
 	}
 	}
 	http.SetCookie(r.Response.ResponseWriter, &http.Cookie{
 	http.SetCookie(r.Response.ResponseWriter, &http.Cookie{
 		Name:     "BITOKEN",
 		Name:     "BITOKEN",