Commit 16d900a8 authored by yanzg's avatar yanzg

默认日期格式的支持

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