From 30c1d93a38d018b3e97bc7264815a8c2c0f58069 Mon Sep 17 00:00:00 2001 From: fang <123456> Date: Tue, 12 Nov 2024 10:14:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=85=E5=8A=9E=5F1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shkd/sys/sys/midservice/utils/RequestClient.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/utils/RequestClient.java b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/utils/RequestClient.java index 446b0a5..7d1b954 100644 --- a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/utils/RequestClient.java +++ b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/utils/RequestClient.java @@ -29,9 +29,9 @@ public class RequestClient { private String port;// 端口 private RequestClient() { - this.protocal = System.getProperty("efms.midservice.protocal"); - this.ip = System.getProperty("efms.midservice.ip"); - this.port = System.getProperty("efms.midservice.port"); + this.protocal = System.getProperty("backlog-protocal"); + this.ip = System.getProperty("backlog-ip"); + this.port = System.getProperty("backlog-port"); } /** * 获取中台服务客户端实例 @@ -59,6 +59,7 @@ public class RequestClient { if (!StringUtils.isEmpty(this.port)) { urlStr.append(":").append(this.port); } + logger.info("环境参数,protocal:"+this.protocal+",ip:"+this.ip+",this.port:"+this.port); urlStr.append(url); String responseText = null; try { @@ -87,7 +88,9 @@ public class RequestClient { urlStr.append(":").append(this.port); } urlStr.append(url);; + logger.info("保存时,环境参数,protocal:"+this.protocal+",ip:"+this.ip+",this.port:"+this.port); DynamicObject dynamicObject = BusinessDataServiceHelper.newDynamicObject("shkd_backlog"); + logger.info("保存日志表id"+dynamicObject.getPkValue()); dynamicObject.set("shkd_url",urlStr); dynamicObject.set("shkd_request",title); dynamicObject.set("shkd_request_tag",jsonMessage);