From 17f3550068c4581d45d3850dd283d7af731ac3a4 Mon Sep 17 00:00:00 2001
From: lvleigang <957075182@qq.com>
Date: Mon, 1 Jul 2024 16:29:26 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B6=8A=E5=9F=8E=E5=8C=BA=E6=B5=8B=E8=AF=95to?=
 =?UTF-8?q?ken=E6=8B=BC=E6=8E=A5=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../service/impl/SysApplicationServiceImpl.java          | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/service/src/main/java/com/hzya/frame/sysnew/application/service/impl/SysApplicationServiceImpl.java b/service/src/main/java/com/hzya/frame/sysnew/application/service/impl/SysApplicationServiceImpl.java
index b985bc45..4168758f 100644
--- a/service/src/main/java/com/hzya/frame/sysnew/application/service/impl/SysApplicationServiceImpl.java
+++ b/service/src/main/java/com/hzya/frame/sysnew/application/service/impl/SysApplicationServiceImpl.java
@@ -1814,6 +1814,15 @@ public class SysApplicationServiceImpl extends BaseService<SysApplicationEntity,
         headers = sysExtensionApiEntity.getHeaders();
         String querys = sysExtensionApiEntity.getQuerys();
         String bodys = sysExtensionApiEntity.getBodys();
+        if (headers != null && headers.size() > 0) {
+            StringBuffer stringBuffer = new StringBuffer();
+            for (String key : headers.keySet()) {
+                stringBuffer.append(key).append("=").append(headers.get(key)).append("&");
+            }
+            logger.info("内部方法转换header信息:"+ stringBuffer);
+        }
+        logger.info("内部方法转换bodys信息:"+ bodys);
+
         //设置参数获取参数
         StringBuffer url = new StringBuffer();
         if(!receiveApi.getDestinationAddress().toLowerCase().startsWith("http")){