修复前端获取不到异常信息的bug.

This commit is contained in:
wingmyway
2020-09-03 10:39:10 +08:00
parent d42a6751e3
commit 435cff8974

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