浏览代码

删除过期处理类

hubin 1 年之前
父节点
当前提交
b0ad1eaf65

+ 0 - 5
aizuda-service-parent/src/main/java/com/aizuda/service/web/ServiceExceptionHandler.java

@@ -133,11 +133,6 @@ public class ServiceExceptionHandler {
             return ApiResult.failed(e.getMessage());
             return ApiResult.failed(e.getMessage());
         }
         }
 
 
-        // 参数缺失
-        if (e instanceof NestedServletException) {
-            return ApiResult.failed(e.getMessage());
-        }
-
         // 请求参数无法读取
         // 请求参数无法读取
         if (e instanceof HttpMessageNotReadableException) {
         if (e instanceof HttpMessageNotReadableException) {
             return ApiResult.failed(e.getMessage());
             return ApiResult.failed(e.getMessage());