| | |
| | | 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; |
| | |
| | | return service.getSoftBySubCode(subCode); |
| | | } |
| | | |
| | | @ApiOperation(value = "根据软件id实现软件下载") |
| | | @GetMapping("downLoadSoftware") |
| | | public void downLoadSoftware(HttpServletRequest req, HttpServletResponse resp, @RequestParam int id){ |
| | | service.downLoadSoftware(req,resp,id); |
| | | } |
| | | |
| | | } |