修改日志输出

This commit is contained in:
WenG 2021-06-25 20:48:32 +08:00
parent bf4edb4827
commit 0b2da3d574

View File

@ -230,7 +230,7 @@ public class RestTemplateUtil {
LOG.debug(">>>> 请求结果状态: {}, ", responseEntity.getStatusCodeValue()); LOG.debug(">>>> 请求结果状态: {}, ", responseEntity.getStatusCodeValue());
String response = responseEntity.getBody(); String response = responseEntity.getBody();
if (HttpStatus.OK.value() == responseEntity.getStatusCodeValue()) { if (HttpStatus.OK.value() == responseEntity.getStatusCodeValue()) {
System.out.println(response); LOG.debug(response);
if (response == null) { if (response == null) {
return new JSONObject().toJSONString(); return new JSONObject().toJSONString();
} }