@@ -48,7 +48,7 @@ public class UploadServiceImpl implements UploadService {
if (file.isEmpty()) {
return new FileDTO("FAILURE", "文件不能为空");
}
- //文件大小上限1M
+ //文件大小上限4M
if (file.getSize() > 1024 * 1024 * 4) {
return new FileDTO("FAILURE", "文件上传失败,超出大小限制4MB");