lxw
2022-09-07 724f785c969715b2481326ba7605d712ceccf790
src/main/java/com/whyc/controller/SoftwareController.java
@@ -10,6 +10,8 @@
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.text.ParseException;
import java.util.List;
@@ -56,5 +58,10 @@
        return service.getSoftBySubCode(subCode);
    }
    @ApiOperation(value = "根据软件id实现软件下载")
    @GetMapping("downLoadSoftware")
    public void downLoadSoftware(HttpServletRequest req, HttpServletResponse resp, @RequestParam int id){
        service.downLoadSoftware(req,resp,id);
    }
}