whycxzp
2024-01-03 f7733dc8aaca5590f7194ff4bd491e80d8c92ab3
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);
    }