Commit 04887b8e by leejoker

修复返回类型错误的bug

1 parent ae56645d
...@@ -27,6 +27,6 @@ public class ResponseAdvice implements ResponseBodyAdvice { ...@@ -27,6 +27,6 @@ public class ResponseAdvice implements ResponseBodyAdvice {
if (o instanceof AjaxResult) { if (o instanceof AjaxResult) {
return ((AjaxResult) o).build(); return ((AjaxResult) o).build();
} }
return AjaxResult.success(o).build(); return o;
} }
} }
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!