Browse Source

feat:调试

wangchuanjin 1 year ago
parent
commit
033239609c
1 changed files with 4 additions and 2 deletions
  1. 4 2
      core/proxy/broker/outServer/SussBi.go

+ 4 - 2
core/proxy/broker/outServer/SussBi.go

@@ -166,8 +166,10 @@ func (s *sussBi) RequestLogin(r *ghttp.Request) error {
 			r.Request.AddCookie(cookies[0])
 		}
 	}
-	for _, v := range r.Request.Cookies() {
-		log.Println("装配登录状态", r.Request.RequestURI, fmt.Sprintf("%+v", v))
+	if r.Request.RequestURI == "/succbi/crm_system/app/crm.app/sales_clues.spg" {
+		for _, v := range r.Request.Cookies() {
+			log.Println("装配登录状态", r.Request.RequestURI, fmt.Sprintf("%+v", v))
+		}
 	}
 	ctx := router.GetGContext(r.GetCtx())
 	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))