Commit 3a1ff0e6 authored by yanzg's avatar yanzg

不记录系统日志

parent d5840302
......@@ -203,7 +203,7 @@ public class BaseRequestAspect {
protected void responseLog(Class<?> cls, String tag, String url, boolean logFlag, long start,
String requestBody, Object result, Exception resultEx, LogVo log) {
try {
if (!StringHelper.compare(log.getContent(), requestBody)) {
if (log != null && !StringHelper.compare(log.getContent(), requestBody)) {
log.setContentTo(requestBody);
}
long time = System.currentTimeMillis() - start;
......
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