fix: 修复

dev_unify
chenhc 8 months ago
parent 6632322541
commit 9206192dd8

@ -42,7 +42,7 @@ public class ThirdAliDrugService extends ServiceImpl<ThirdAliDrugMapper, ThirdAl
throw new JsonException("仅支持TXT文件类型错误" + suffix);
}
log.info(file.getSize() + "文件长度");
if (file.getSize() > 10 * 1024 * 1024) {
if (file.getSize() > 100 * 1024 * 1024) {
throw new JsonException("上传文件超过10M");
}
List<ThirdAliDrug> thirdAliDrugs = new ArrayList<>();

Loading…
Cancel
Save