Commit 16d900a8 authored by yanzg's avatar yanzg

默认日期格式的支持

parent b02d894d
...@@ -176,6 +176,8 @@ public class BaseRequestAspect implements ThreadNext.Next { ...@@ -176,6 +176,8 @@ public class BaseRequestAspect implements ThreadNext.Next {
return start; return start;
} }
private ResponseResult responseDefault = new ResponseResult();
/** /**
* 保存日志 * 保存日志
* *
...@@ -192,7 +194,7 @@ public class BaseRequestAspect implements ThreadNext.Next { ...@@ -192,7 +194,7 @@ public class BaseRequestAspect implements ThreadNext.Next {
url = String.format("%s.%s", joinPoint.getSignature().getDeclaringTypeName(), name); url = String.format("%s.%s", joinPoint.getSignature().getDeclaringTypeName(), name);
} }
// 处理结果 // 处理结果
ResponseResult responseResult = null; ResponseResult responseResult = responseDefault;
if (result instanceof ResponseResult) { if (result instanceof ResponseResult) {
responseResult = (ResponseResult) result; responseResult = (ResponseResult) result;
} else if (result != null) { } else if (result != null) {
......
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