From cf9a5039e6db9d1d5963e3fe1a37d00169ec2ef7 Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期三, 25 六月 2025 11:18:22 +0800
Subject: [PATCH] 验收报告修改

---
 src/main/java/com/whyc/service/ZipAndRarService.java |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/whyc/service/ZipAndRarService.java b/src/main/java/com/whyc/service/ZipAndRarService.java
index f082e4c..cd140b3 100644
--- a/src/main/java/com/whyc/service/ZipAndRarService.java
+++ b/src/main/java/com/whyc/service/ZipAndRarService.java
@@ -1,6 +1,5 @@
 package com.whyc.service;
 
-import com.github.junrar.exception.RarException;
 import com.whyc.dto.FileDirPath;
 import com.whyc.dto.Response;
 import com.whyc.pojo.FileMessage;
@@ -35,7 +34,7 @@
         return new Response().setII(1,list!=null,list,"鍘嬬缉鏂囦欢淇℃伅");
     }
 
-    public Response decompress(String compressedFileUrl) throws ArchiveException, IOException, RarException {
+    public Response decompress(String compressedFileUrl) throws ArchiveException, IOException, InterruptedException {
         String fileSuffix = (compressedFileUrl.substring(compressedFileUrl.lastIndexOf(".")+1));
         List<String> resList = new LinkedList<>();
         if(fileSuffix.equals("zip")||fileSuffix.equals("rar")) {

--
Gitblit v1.9.1