|
@@ -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());
|