Commit 1cc5418f by huangfusuper

spring mvc结果拦截器封装修改

parent 3b2f4a8b
......@@ -38,6 +38,7 @@ public class ResponseAdvice implements ResponseBodyAdvice {
if(body instanceof String){
return JSON.toJSONString(success);
}
return success;
}
return body;
}
......
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