From 0d71b7864aff87f37d84654127c96273608b1d1c Mon Sep 17 00:00:00 2001 From: zhangtiansen <1292933220@qq.com> Date: 星期二, 13 九月 2022 09:51:28 +0800 Subject: [PATCH] 三说会堂专家,事件类型,业务中心模块搭建,基本接口创建。 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 137 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 137 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 8f544d8..5745505 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 @@ -13,6 +13,9 @@ import com.panzhihua.common.model.dtos.community.dpc.PageDpcDTO; import com.panzhihua.common.model.dtos.community.enterprise.*; import com.panzhihua.common.model.dtos.community.reserve.*; +import com.panzhihua.common.model.dtos.community.sanshuo.ComSanShuoIndustryCenterDTO; +import com.panzhihua.common.model.dtos.community.sanshuo.ComSanshuoEventDTO; +import com.panzhihua.common.model.dtos.community.sanshuo.ComSanshuoExpertDTO; import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseApplyDTO; import com.panzhihua.common.model.dtos.community.GetIdentityEidTokenDTO; import com.panzhihua.common.model.dtos.community.cluster.PageClusterMemberDto; @@ -35,6 +38,7 @@ import com.panzhihua.common.model.vos.community.raffle.ComActRaffleRecordVO; import com.panzhihua.common.model.vos.community.raffle.ComActRaffleVO; import com.panzhihua.common.model.vos.community.reserve.ComActReserveDangerAreaVO; +import io.swagger.annotations.ApiParam; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.scheduling.annotation.Async; import org.springframework.web.bind.annotation.DeleteMapping; @@ -10343,4 +10347,137 @@ */ @PostMapping("/comActAcidRecord/batchCheck") R batchCheck(@RequestBody BatchCheckAcidRecordDTO batchCheckAcidRecordDTO); + + /** + * 小程序获取可用的行业中心列表 + * @return + * */ + @GetMapping("/sanshuo/industryCenter/appletsList") + R industryCenterAppList(); + + /** + * 后台获取行业中心列表 + * */ + @GetMapping("/sanshuo/industryCenter/list") + R backIndustrytList(@RequestParam(value = "keyWord",required = false)String keyWord, + @RequestParam(value = "page",required = false)Integer page, + @RequestParam(value = "size",required = false)Integer size); + + /** + * 添加业务中心 + * */ + @PostMapping("/sanshuo/industryCenter") + R addIndustry(@RequestBody ComSanShuoIndustryCenterDTO comSanShuoIndustryCenterDTO); + + /** + * 修改业务中心 + * */ + @PutMapping("/sanshuo/industryCenter") + R updateIndustry(@RequestBody ComSanShuoIndustryCenterDTO comSanShuoIndustryCenterDTO); + + /** + * 删除业务中心 + * */ + @DeleteMapping("/sanshuo/industryCenter/remove") + R removeIndustry(@RequestParam Long id); + + /** + * 重置业务中心密码 + * */ + @PostMapping("/sanshuo/industryCenter/resetPass") + R resetIndustryPassword(@RequestBody ComSanShuoIndustryCenterDTO comSanShuoIndustryCenterDTO); + + /** + * 业务中心详情 + * */ + @GetMapping("/sanshuo/industryCenter/detail") + R industryCenterDetail(@RequestParam Long id); + + /** + * 后台获取专家列表 + * */ + @GetMapping("/sanshuo/expert/backstageList") + R backExpertList(@RequestParam(value = "keyWord",required = false)@ApiParam("搜索关键字") String keyWord, + @RequestParam(value = "page",required = false)Integer page, + @RequestParam(value = "size",required = false)Integer size); + + /** + * 添加专家 + * */ + @PostMapping("/sanshuo/expert") + R addExpert(@RequestBody ComSanshuoExpertDTO comSanshuoExpertDTO); + + /** + * 修改专家 + * */ + @PutMapping("/sanshuo/expert") + R updateExpert(@RequestBody ComSanshuoExpertDTO comSanshuoExpertDTO); + + /** + * 删除专家 + * */ + @DeleteMapping("/sanshuo/expert/remove") + R removeExpert(@RequestParam("id")Long id); + + /** + * 重置专家登陆密码 + * */ + @PostMapping("/sanshuo/expert/resetPassword") + R resetExpertPassword(@RequestBody ComSanshuoExpertDTO comSanshuoExpertDTO); + + /** + * 小程序获取可选择专家列表 + * */ + @GetMapping("/sanshuo/expert/appletsList") + R expertAppList(); + + /** + * 获取专家详情 + * */ + @GetMapping("/sanshuo/expert/detail") + R expertDetail(@RequestParam Long id); + + /** + * 后台事件列表 + * */ + @GetMapping("/sanshuo/event/list") + R backEventList(@RequestParam(value = "keyWord",required = false)String keyWord, + @RequestParam(value = "page",required = false)Integer page, + @RequestParam(value = "size",required = false)Integer size); + + /** + * 事件详情 + * */ + @GetMapping("/sanshuo/event/detail") + R eventDetail(@RequestParam(value = "id",required = false)Long id); + + /** + * 小程序获取事件列表 + * */ + @GetMapping("/sanshuo/event/appletsList") + R eventAppList(); + + /** + * 新增事件类型 + * */ + @PostMapping("/sanshuo/event") + R addEvent(@RequestBody ComSanshuoEventDTO comSanshuoEventDTO); + + /** + * 新增事件类型 + * */ + @PutMapping("/sanshuo/event") + R updateEvent(@RequestBody ComSanshuoEventDTO comSanshuoEventDTO); + + /** + * 删除事件类型 + * */ + @DeleteMapping("/sanshuo/event/remove") + R removeEvent(@RequestParam(value = "id",required = false)Long id); + + /** + * 专家风采 + * */ + @GetMapping("/sanshuo/expert/expertShow") + R expertShow(); } -- Gitblit v1.7.1