Commit 2b6e7a86 authored by yanzg's avatar yanzg

修复bug

parent e12dc963
...@@ -55,12 +55,12 @@ public class AspectLogResult { ...@@ -55,12 +55,12 @@ public class AspectLogResult {
ThreadHelper.sleep(30); ThreadHelper.sleep(30);
} }
String body = aspectLogBody.getBodyString(requestBody); String body = aspectLogBody.getBodyString(requestBody);
if (log != null && !StringHelper.compare(log.getContent(), body)) { if (!StringHelper.compare(log.getContent(), body)) {
log.setContentTo(body); log.setContentTo(body);
} }
long time = System.currentTimeMillis() - start; long time = System.currentTimeMillis() - start;
boolean isLogDisplay = (logFlag && this.cloudConfig.isLogCommon()) || resultEx != null; boolean isLogDisplay = (logFlag && this.cloudConfig.isLogCommon()) || resultEx != null;
boolean isLogDatabase = log != null || resultEx != null; boolean isLogDatabase = resultEx != null;
// 处理结果 // 处理结果
ResponseResult responseResult = responseDefault; ResponseResult responseResult = responseDefault;
if (result instanceof ResponseResult) { if (result instanceof ResponseResult) {
......
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