| | |
| | | return service.upload(file1,file2,softwareList); |
| | | } |
| | | |
| | | @ApiOperation("更新软件版本对应的适用机型") |
| | | @PutMapping("applyModel") |
| | | public Response updateApplyModel(@RequestParam MultipartFile multipartFile,@RequestParam String softwareStr) throws IOException { |
| | | List<Software> softwareList = ActionUtil.getGson().fromJson(softwareStr,new TypeToken<List<Software>>(){}.getType()); |
| | | return service.updateApplyModel(multipartFile,softwareList); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询软件列表的信息") |
| | | @GetMapping("getAllSoftware") |
| | | public Response getAllSoftware(@RequestParam(required = false) String fileName, |