Pre Merge pull request !22 from CrazyCoderST/master

This commit is contained in:
CrazyCoderST 2020-09-17 11:42:44 +08:00 committed by Gitee
commit bbf871a2de
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());
}
/**