From b4ddb80061565622fbf11482cad24eff7aa62248 Mon Sep 17 00:00:00 2001 From: lxw <810412026@qq.com> Date: 星期一, 15 八月 2022 17:31:53 +0800 Subject: [PATCH] 查询软件的信息 --- src/main/java/com/whyc/controller/ProductSoftwareController.java | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/controller/ProductSoftwareController.java b/src/main/java/com/whyc/controller/ProductSoftwareController.java new file mode 100644 index 0000000..5f3007b --- /dev/null +++ b/src/main/java/com/whyc/controller/ProductSoftwareController.java @@ -0,0 +1,23 @@ +package com.whyc.controller; + +import com.whyc.dto.Response; +import com.whyc.service.ProductSoftwareService; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +@Api(tags = "杞欢绠$悊") +@RestController +@RequestMapping("productSoftware") +public class ProductSoftwareController { + @Autowired + private ProductSoftwareService service; + + @ApiOperation(value = "鏌ヨ杞欢鐨勪俊鎭�") + 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); + } +} -- Gitblit v1.9.1