lxw
2022-08-15 e39ab475b0d7718e7f337def4f8d96438ef1c0c1
查询软件的信息
1个文件已修改
2 ■■■■■ 已修改文件
src/main/java/com/whyc/controller/ProductSoftwareController.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/controller/ProductSoftwareController.java
@@ -5,6 +5,7 @@
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
@@ -17,6 +18,7 @@
    private ProductSoftwareService service;
    @ApiOperation(value = "查询软件的信息")
    @GetMapping("getAllSoftware")
    public Response getAllSoftware(@RequestParam(required = false) String parentModel,@RequestParam(required = false) String softwareName,@RequestParam int pageCurr,@RequestParam int pageSize ){
        return service.getAllSoftware(parentModel,softwareName,pageCurr,pageSize);
    }