fixbug BaseException全局异常处理
This commit is contained in:
parent
9277d7173d
commit
b6caf1feb2
|
|
@ -29,7 +29,7 @@ public class GlobalExceptionHandler
|
|||
@ExceptionHandler(BaseException.class)
|
||||
public AjaxResult baseException(BaseException e)
|
||||
{
|
||||
return AjaxResult.error(e.getMessage());
|
||||
return AjaxResult.error(e.getDefaultMessage());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue