Commit c17c389b authored by huyuchen's avatar huyuchen

huych-配置修改

parent e8c1b127
package com.yifu.cloud.plus.v1.batch.constants; package com.yifu.cloud.plus.v1.batch.constants;
import sun.net.www.content.image.gif;
import sun.net.www.content.image.jpeg;
import sun.net.www.content.image.png;
/** /**
* 电子档案相关常量 * 电子档案相关常量
* *
...@@ -108,9 +104,9 @@ public interface ArchiveConstants { ...@@ -108,9 +104,9 @@ public interface ArchiveConstants {
String PROCESS_RESULT_SKIP = "跳过"; String PROCESS_RESULT_SKIP = "跳过";
/** /**
* ZIP文件最大大小(500M) * ZIP文件最大大小(200M)
*/ */
long ZIP_MAX_SIZE = 500 * 1024 * 1024L; long ZIP_MAX_SIZE = 200 * 1024 * 1024L;
/** /**
* 单个附件最大大小(15M) * 单个附件最大大小(15M)
......
...@@ -420,7 +420,7 @@ public class ElectronicArchiveImportServiceImpl implements ElectronicArchiveImpo ...@@ -420,7 +420,7 @@ public class ElectronicArchiveImportServiceImpl implements ElectronicArchiveImpo
// 1. 校验ZIP大小 // 1. 校验ZIP大小
long fileSize = file.getSize(); long fileSize = file.getSize();
if (fileSize > ArchiveConstants.ZIP_MAX_SIZE) { if (fileSize > ArchiveConstants.ZIP_MAX_SIZE) {
return R.failed("ZIP文件大小不能超过500M"); return R.failed("ZIP文件大小不能超过200M");
} }
// 2. 校验ZIP不为空 // 2. 校验ZIP不为空
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment