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);