Commit b02d894d authored by yanzg's avatar yanzg

默认日期格式的支持

parent 8f619ff4
...@@ -192,10 +192,10 @@ public class BaseRequestAspect implements ThreadNext.Next { ...@@ -192,10 +192,10 @@ 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; ResponseResult responseResult = null;
if (result instanceof ResponseResult) { if (result instanceof ResponseResult) {
responseResult = (ResponseResult) result; responseResult = (ResponseResult) result;
} else { } else if (result != null) {
responseResult = ResponseResult.result(result); responseResult = ResponseResult.result(result);
} }
......
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