tsurumure 3 months ago
parent
commit
ef6e762b2f

+ 1 - 1
src/main/java/com/backendsys/modules/upload/service/impl/SysFileMultipartServiceImpl.java

@@ -150,7 +150,7 @@ public class SysFileMultipartServiceImpl implements SysFileMultipartService {
     @Override
     public Map<String, Object> multipartUploadInit(MultipartFile multipartFile, Long category_id, Integer upload_chunk_count, String md5) {
 
-        if (multipartFile.isEmpty()) throw new CustException("file 上传文件不能为空");
+//        if (multipartFile.isEmpty()) throw new CustException("file 上传文件不能为空");
 //        if (upload_chunk_count == null) throw new CustException("upload_chunk_count 分块数量不能为空");
 //        if (md5.isEmpty()) throw new CustException("md5 不能为空");
 //