Commit 7115dad1 authored by daniel's avatar daniel

fix(log): 移除不必要日志

parent a7512fe9
...@@ -74,9 +74,9 @@ public class RemoteService { ...@@ -74,9 +74,9 @@ public class RemoteService {
log.info("requet get url:"+url); log.info("requet get url:"+url);
if (forEntity.getStatusCode() == HttpStatus.OK) { if (forEntity.getStatusCode() == HttpStatus.OK) {
String resultString = forEntity.getBody(); String resultString = forEntity.getBody();
log.info("resultString:" + resultString); // log.info("resultString:" + resultString);
JSONObject object = JSONObject.parseObject(resultString); JSONObject object = JSONObject.parseObject(resultString);
// log.info(object.toJSONString()); // log.info(object.toJSONString());
if (object.isEmpty()) { if (object.isEmpty()) {
return null; return null;
} else { } else {
...@@ -147,7 +147,7 @@ public class RemoteService { ...@@ -147,7 +147,7 @@ public class RemoteService {
"getCmptItemList.do?cmptId=" + cmptId, String.class); "getCmptItemList.do?cmptId=" + cmptId, String.class);
if (forEntity.getStatusCode() == HttpStatus.OK) { if (forEntity.getStatusCode() == HttpStatus.OK) {
String resultString = forEntity.getBody(); String resultString = forEntity.getBody();
log.info("resultString:" + resultString); // log.info("resultString:" + resultString);
JSONObject object = JSONObject.parseObject(resultString); JSONObject object = JSONObject.parseObject(resultString);
log.info(object.toJSONString()); log.info(object.toJSONString());
if (object.isEmpty()) { if (object.isEmpty()) {
...@@ -182,7 +182,7 @@ public class RemoteService { ...@@ -182,7 +182,7 @@ public class RemoteService {
+ cmptId + "&idNo=" + idno, String.class); + cmptId + "&idNo=" + idno, String.class);
if (forEntity.getStatusCode() == HttpStatus.OK) { if (forEntity.getStatusCode() == HttpStatus.OK) {
String resultString = forEntity.getBody(); String resultString = forEntity.getBody();
log.info("resultString:" + resultString); // log.info("resultString:" + resultString);
JSONObject object = JSONObject.parseObject(resultString); JSONObject object = JSONObject.parseObject(resultString);
log.info(object.toJSONString()); log.info(object.toJSONString());
if (object.isEmpty()) { if (object.isEmpty()) {
......
...@@ -414,7 +414,7 @@ public class MicroApiController { ...@@ -414,7 +414,7 @@ public class MicroApiController {
// 新增耗时计算 // 新增耗时计算
long endTime = System.currentTimeMillis(); long endTime = System.currentTimeMillis();
long duration = endTime - startTime; long duration = endTime - startTime;
log.info("获取合作信息耗时:" + duration + "毫秒"); // log.info("获取合作信息耗时:" + duration + "毫秒");
return Result.success().setContent(result); return Result.success().setContent(result);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment