whyclxw
2025-03-06 57f30accf6dd61c0d0db4fab8e4b6f24e4f85c22
src/main/java/com/whyc/controller/ZipAndRarController.java
@@ -1,6 +1,5 @@
package com.whyc.controller;
import com.github.junrar.exception.RarException;
import com.whyc.dto.Response;
import com.whyc.service.ZipAndRarService;
import io.swagger.annotations.Api;
@@ -29,7 +28,7 @@
    @ApiOperation("解压")
    @GetMapping("decompress")
    public Response decompress(@RequestParam String compressedFileUrl) throws ArchiveException, IOException, RarException {
    public Response decompress(@RequestParam String compressedFileUrl) throws ArchiveException, IOException, InterruptedException {
        return service.decompress(compressedFileUrl);
    }