wangchuanjin 1 vuosi sitten
vanhempi
commit
36aacf1de2
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      core/proxy/proxyServer.go

+ 5 - 0
core/proxy/proxyServer.go

@@ -114,6 +114,11 @@ var proxyHandler = func(r *ghttp.Request) {
 			log.WithContext(r.Context()).Error("ErrorHandler ", err)
 		}
 		// 代理请求
+		if r.Request.RequestURI == "/succbi/crm_system/app/crm.app/sales_clues.spg" {
+			for _, v := range r.Request.Cookies() {
+				log.Println("代理cookie", fmt.Sprintf("%+v", v))
+			}
+		}
 		proxyClient.CreateCustomProxyClient(proxyAddr, errHandel, changeFunc).ServeHTTP(r.Response.ResponseWriter, r.Request)
 
 		if gCtx.RouterRule.IsOutServer { //检测外部服务登录状态是否过期