待办_1
This commit is contained in:
parent
0b924c9cd7
commit
30c1d93a38
|
@ -29,9 +29,9 @@ public class RequestClient {
|
||||||
private String port;// 端口
|
private String port;// 端口
|
||||||
|
|
||||||
private RequestClient() {
|
private RequestClient() {
|
||||||
this.protocal = System.getProperty("efms.midservice.protocal");
|
this.protocal = System.getProperty("backlog-protocal");
|
||||||
this.ip = System.getProperty("efms.midservice.ip");
|
this.ip = System.getProperty("backlog-ip");
|
||||||
this.port = System.getProperty("efms.midservice.port");
|
this.port = System.getProperty("backlog-port");
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* 获取中台服务客户端实例
|
* 获取中台服务客户端实例
|
||||||
|
@ -59,6 +59,7 @@ public class RequestClient {
|
||||||
if (!StringUtils.isEmpty(this.port)) {
|
if (!StringUtils.isEmpty(this.port)) {
|
||||||
urlStr.append(":").append(this.port);
|
urlStr.append(":").append(this.port);
|
||||||
}
|
}
|
||||||
|
logger.info("环境参数,protocal:"+this.protocal+",ip:"+this.ip+",this.port:"+this.port);
|
||||||
urlStr.append(url);
|
urlStr.append(url);
|
||||||
String responseText = null;
|
String responseText = null;
|
||||||
try {
|
try {
|
||||||
|
@ -87,7 +88,9 @@ public class RequestClient {
|
||||||
urlStr.append(":").append(this.port);
|
urlStr.append(":").append(this.port);
|
||||||
}
|
}
|
||||||
urlStr.append(url);;
|
urlStr.append(url);;
|
||||||
|
logger.info("保存时,环境参数,protocal:"+this.protocal+",ip:"+this.ip+",this.port:"+this.port);
|
||||||
DynamicObject dynamicObject = BusinessDataServiceHelper.newDynamicObject("shkd_backlog");
|
DynamicObject dynamicObject = BusinessDataServiceHelper.newDynamicObject("shkd_backlog");
|
||||||
|
logger.info("保存日志表id"+dynamicObject.getPkValue());
|
||||||
dynamicObject.set("shkd_url",urlStr);
|
dynamicObject.set("shkd_url",urlStr);
|
||||||
dynamicObject.set("shkd_request",title);
|
dynamicObject.set("shkd_request",title);
|
||||||
dynamicObject.set("shkd_request_tag",jsonMessage);
|
dynamicObject.set("shkd_request_tag",jsonMessage);
|
||||||
|
|
Loading…
Reference in New Issue