|
|
@ -37,6 +37,8 @@ public class SignPushClient implements IOldSignPushClient { |
|
|
|
String url = oldSystemProperties.getUrl() + "openApi/newSystem.OptimsSign/index"; |
|
|
|
String url = oldSystemProperties.getUrl() + "openApi/newSystem.OptimsSign/index"; |
|
|
|
|
|
|
|
|
|
|
|
String data = JSON.toJSONString(signPushDataDTO); |
|
|
|
String data = JSON.toJSONString(signPushDataDTO); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
log.info(">>>> pushOldSystemSignInfo request url:{} data:{}",url,data); |
|
|
|
String body = HttpRequest.post(url).body(data).header("token", authCode).execute().body(); |
|
|
|
String body = HttpRequest.post(url).body(data).header("token", authCode).execute().body(); |
|
|
|
if (StringUtil.isNotBlank(body)) { |
|
|
|
if (StringUtil.isNotBlank(body)) { |
|
|
|
JSONObject res = JSON.parseObject(body); |
|
|
|
JSONObject res = JSON.parseObject(body); |
|
|
@ -44,6 +46,8 @@ public class SignPushClient implements IOldSignPushClient { |
|
|
|
result= true; |
|
|
|
result= true; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
log.info(">>>> pushOldSystemSignInfo response url:{} body:{}",url,body); |
|
|
|
|
|
|
|
|
|
|
|
log.info(">>>> pushOldSystemSignInfo 程序执行 end time : {} >> return result :{} ",System.currentTimeMillis(),result); |
|
|
|
log.info(">>>> pushOldSystemSignInfo 程序执行 end time : {} >> return result :{} ",System.currentTimeMillis(),result); |
|
|
|
|
|
|
|
|
|
|
|
return result; |
|
|
|
return result; |
|
|
|