修改日志输出
This commit is contained in:
parent
bf4edb4827
commit
0b2da3d574
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user