框架默认的上传文件大小改为100MB,日志生成的大小也改为100MB

This commit is contained in:
zer0Black
2023-10-22 20:39:40 +08:00
parent 0b3c57f677
commit f290bf532f
7 changed files with 12 additions and 12 deletions
@@ -86,7 +86,7 @@ public class JeroBootExceptionHandler {
@ExceptionHandler(MaxUploadSizeExceededException.class)
public Results<T> handleMaxUploadSizeExceededException(MaxUploadSizeExceededException e) {
log.error(e.getMessage(), e);
return Results.error("文件大小超出10MB限制, 请压缩或降低文件质量! ");
return Results.error("文件大小超出100MB限制, 请压缩或降低文件质量! ");
}
@ExceptionHandler(DataIntegrityViolationException.class)