Skip to content

Commit

Permalink
Update ExceptionCatch.java
Browse files Browse the repository at this point in the history
因此捕获类增强
  • Loading branch information
981011512 committed Apr 26, 2021
1 parent d1529db commit d2faee6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,6 @@ public ResponseResult exception(Exception exception){
builder.put(BindException.class, CommonCode.INVALID_PARAM);
builder.put(MissingServletRequestParameterException.class, CommonCode.INVALID_PARAM);
builder.put(AccessDeniedException.class, AuthCode.INSUFFICIENT_PERMISSIONS);
//需要的其它你可以继续在此进行增加
}
}

0 comments on commit d2faee6

Please sign in to comment.