mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-06 04:18:07 +00:00
全局异常处理
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user