wangchuanjin 1 年間 前
コミット
36aacf1de2
1 ファイル変更5 行追加0 行削除
  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 { //检测外部服务登录状态是否过期