提交 05a7856e 编写于 作者: Dcpnet's avatar Dcpnet 🇨🇳

Update RestControllerAdvice.java

上级 a52362ef
......@@ -35,4 +35,10 @@ public class RestControllerAdvice {
public Map<String,Object> paramException(ParamException exception){
return exception.getMap();
}
@ExceptionHandler(BusinessException.class)
public Map<String,Object> paramException(BusinessException exception){
return exception.getMap();
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册