修改上传文件超过100m提示

This commit is contained in:
gaosong
2022-08-10 17:21:13 +08:00
parent b5639064a1
commit 90affdb471
@@ -88,7 +88,7 @@ public class JeroBootExceptionHandler {
@ExceptionHandler(MaxUploadSizeExceededException.class)
public Result<?> handleMaxUploadSizeExceededException(MaxUploadSizeExceededException e) {
log.error(e.getMessage(), e);
return Result.error("文件大小超出10MB限制, 请压缩或降低文件质量! ");
return Result.error("文件大小超出100MB限制, 请压缩或降低文件质量! ");
}
@ExceptionHandler(DataIntegrityViolationException.class)