mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-28 20:41:56 +08:00
强化文件api,添加FilePond
This commit is contained in:
@@ -152,4 +152,12 @@ public class GlobalExceptionHandler {
|
||||
public AjaxResult handleLoginExpiredException(LoginExpiredException e) {
|
||||
return AjaxResult.error(e.getMessage());
|
||||
}
|
||||
|
||||
/**
|
||||
* 参数校验异常
|
||||
*/
|
||||
@ExceptionHandler(IllegalArgumentException.class)
|
||||
public AjaxResult handleIllegalArgumentException(IllegalArgumentException e) {
|
||||
return AjaxResult.error("参数校验失败: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user