whyclxw
2024-07-25 6ff23a47d7d88e420d476a8e739b83f4c2dc8da4
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);
    }