From d5bd38ef60044ef056a0525a6c5adff155ee55cd Mon Sep 17 00:00:00 2001
From: puhanshu <a9236326>
Date: 星期四, 23 九月 2021 18:23:16 +0800
Subject: [PATCH] 便民服务小程序

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ConvenientProductService.java |   27 ++++++++++++++++++++++++---
 1 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ConvenientProductService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ConvenientProductService.java
index 64bb882..24b341d 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ConvenientProductService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ConvenientProductService.java
@@ -5,7 +5,7 @@
 import com.panzhihua.common.model.dtos.community.convenient.DeleteConvenientProductDTO;
 import com.panzhihua.common.model.dtos.community.convenient.OnShelfOrOffShelfProductDTO;
 import com.panzhihua.common.model.dtos.community.convenient.PageConvenientProductDTO;
-import com.panzhihua.common.model.dtos.community.convenient.PageMerchantProductDTO;
+import com.panzhihua.common.model.dtos.community.convenient.PageSearchDTO;
 import com.panzhihua.common.model.vos.R;
 import com.panzhihua.service_community.model.dos.ConvenientProductDO;
 
@@ -62,8 +62,29 @@
 
     /**
      * 小程序获取商家产品
-     * @param pageMerchantProductDTO
+     * @param merchantId
      * @return
      */
-    R getMerchantProduct(PageMerchantProductDTO pageMerchantProductDTO);
+    R getMerchantProduct(Long merchantId);
+
+    /**
+     * 搜索商品信息
+     * @param pageSearchDTO
+     * @return
+     */
+    R pageSearchProduct(PageSearchDTO pageSearchDTO);
+
+    /**
+     * 增加产品浏览量
+     * @param productId
+     * @return
+     */
+    R incrProductView(Long productId);
+
+    /**
+     * 获取商家上下架产品数量
+     * @param merchantId
+     * @return
+     */
+    R getProductShelfNum(Long merchantId);
 }

--
Gitblit v1.7.1