Merge pull request #2 from elunez/master

代码同步
pull/729/head
caiming100 2022-04-06 15:13:57 +08:00 committed by GitHub
commit 2ff0188609
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
**开发文档:** [https://el-admin.vip](https://el-admin.vip)
**体验地址:** [https://el-admin.xin](https://el-admin.xin)
**体验地址:** [https://el-admin.vip/demo](https://el-admin.vip/demo)
**账号密码:** `admin / 123456`

View File

@ -253,7 +253,7 @@ public class FileUtil extends cn.hutool.core.io.FileUtil {
// 1M
int len = 1024 * 1024;
if (size > (maxSize * len)) {
throw new BadRequestException("文件超出规定大小");
throw new BadRequestException("文件超出规定大小:" + maxSize + "MB");
}
}