lxw
2022-09-14 35c39a7c9690f631c0124d3df72b98d89004cfd9
src/main/java/com/whyc/controller/SoftwareController.java
@@ -49,8 +49,9 @@
    @ApiOperation("更新软件版本对应的适用机型")
    @PutMapping("applyModel")
    public Response updateApplyModel(@RequestBody List<Software> softwareList){
        return service.updateApplyModel(softwareList);
    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 = "查询软件列表的信息")