fixbug BaseException全局异常处理

This commit is contained in:
Stephen Tang 2020-09-15 21:11:51 +08:00
parent 9277d7173d
commit b6caf1feb2
1 changed files with 4 additions and 4 deletions

View File

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