From 52026839eb1503895f325f8d0c9f38b6940fe1f4 Mon Sep 17 00:00:00 2001
From: DESKTOP-71BH0QO\L、ming <172680469@qq.com>
Date: 星期五, 16 四月 2021 18:16:44 +0800
Subject: [PATCH] Add:商品添加

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
index e787c43..7137881 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
@@ -4,12 +4,14 @@
 import com.panzhihua.common.model.dtos.advertisement.ComOpsAdvDTO;
 import com.panzhihua.common.model.dtos.advertisement.PageComOpsAdvDTO;
 import com.panzhihua.common.model.dtos.community.*;
+import com.panzhihua.common.model.dtos.shop.PageComShopStoreDTO;
 import com.panzhihua.common.model.vos.R;
 import com.panzhihua.common.model.vos.SystemmanagementConfigVO;
 import com.panzhihua.common.model.vos.community.*;
 import com.panzhihua.common.model.vos.community.questnaire.EditComActQuestnaireVo;
 import com.panzhihua.common.model.vos.community.questnaire.QuestnaireVO;
 import com.panzhihua.common.model.vos.community.questnaire.UsersAnswerQuestnaireVO;
+import com.panzhihua.common.model.vos.shop.ShopStoreVO;
 import com.panzhihua.common.model.vos.user.UserPhoneVO;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.*;
@@ -1754,4 +1756,41 @@
     @PostMapping("/questnaire/usersanswequestnaire")
     R usersAnsweQuestnaire(@RequestBody UsersAnswerQuestnaireVO usersAnswerQuestnaireVO, @RequestParam("userId") Long userId);
 
+    /**
+     * 店铺列表-分页查询
+     * @param pageComShopStoreDTO 分页条件
+     */
+    @PostMapping("/shop/pageShopStore")
+    R pageStoreList(@RequestBody PageComShopStoreDTO pageComShopStoreDTO);
+
+    /**
+     * 保存店铺
+     * @param storeVO 数据
+     */
+    @PostMapping("/shop/saveStore")
+    R saveStore(@RequestBody ShopStoreVO storeVO);
+
+
+    /**
+     * 编辑店铺、启用、禁用
+     * @param storeVO 数据
+     * @param id 商铺id
+     */
+    @PostMapping("/shop/editStore/{id}")
+    R editStore(@RequestBody ShopStoreVO storeVO, @PathVariable("id") Long id);
+
+    /**
+     * 删除店铺
+     * @param id 商铺id
+     */
+    @PostMapping("/shop/deleteStore")
+    R deleteStore(@RequestBody Long[] id);
+
+    /**
+     * 获取详情
+     * @param id 商铺id
+     */
+    @GetMapping("/shop/getStoreInfo")
+    R getStoreInfo(@RequestParam("id")Long id);
+
 }

--
Gitblit v1.7.1