框架默认的上传文件大小改为100MB,日志生成的大小也改为100MB
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user