|
@@ -77,6 +77,21 @@ public class WebPageApi {
|
|
|
return newPageZoneService.getZoneProductList(id, shopName, productId, pageNum, pageSize);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 添加商品查询
|
|
|
+ *
|
|
|
+ * @param id
|
|
|
+ * @param pageNum
|
|
|
+ * @param pageSize
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/selectProductList")
|
|
|
+ public ResponseJson<PaginationVo<Product>> selectProductList(Integer id, Integer productId, String shopName, String productName,
|
|
|
+ @RequestParam(value = "pageNum", defaultValue = "1") int pageNum,
|
|
|
+ @RequestParam(value = "pageSize", defaultValue = "20") int pageSize) {
|
|
|
+ return newPageZoneService.selectProductList(id, productId, shopName, productName, pageNum, pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
@GetMapping("/delZoneProduct")
|
|
|
public ResponseJson delZoneProduct(Integer id, String ids) {
|
|
|
return newPageZoneService.delZoneProduct(id, ids);
|