Commit cf8775c6 authored by yanzg's avatar yanzg

错误信息处理错误

parent 284d0c43
...@@ -217,7 +217,7 @@ public class BaseRequestAspect implements ThreadNext.Next { ...@@ -217,7 +217,7 @@ public class BaseRequestAspect implements ThreadNext.Next {
} }
// 正常请求不记录 // 正常请求不记录
boolean error = resultEx != null || responseResult == null || ResultConstants.SUCCESS.equals(responseResult.getCode()); boolean error = resultEx != null || responseResult == null || !ResultConstants.SUCCESS.equals(responseResult.getCode());
boolean logFlag = (logAll && save) || error; boolean logFlag = (logAll && save) || error;
if (logFlag) { if (logFlag) {
LogVo logVo = initLogInterVo(url, joinPoint, responseResult); LogVo logVo = initLogInterVo(url, joinPoint, 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