From f33bea4c400fbaaabec8ffde7a2b1e00d8cdc9bb Mon Sep 17 00:00:00 2001
From: zhaozhengjie <237651143@qq.com>
Date: 星期三, 28 九月 2022 13:22:29 +0800
Subject: [PATCH] Merge branch 'huacheng_test' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ into huacheng_test
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/StreetApi.java | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/StreetApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/StreetApi.java
index df3010e..b82fb85 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/StreetApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/StreetApi.java
@@ -4,6 +4,7 @@
import javax.annotation.Resource;
+import com.panzhihua.common.model.vos.community.ComActVO;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
@@ -93,4 +94,30 @@
return comStreetService.detailStreet(id);
}
+
+ @PostMapping("/updateStreet")
+ public R updateStreet(@RequestBody ComStreetVO comStreetVO){
+ return comStreetService.update(comStreetVO);
+ }
+
+ @GetMapping("/removeStreet")
+ public R remove(@RequestParam(value = "id",required = false)Long id){
+ return comStreetService.remove(id);
+ }
+
+ @GetMapping("/removeCommunity")
+ public R removeCommunity(@RequestParam(value = "id",required = false)Long id){
+ return comStreetService.removeCommunity(id);
+ }
+
+ @PostMapping("/repassCommunity")
+ public R repassCommunity(@RequestBody ComActVO comActVO){
+ return comStreetService.repassCommunity(comActVO);
+ }
+
+ @PostMapping("/repassStreet")
+ public R repassStreet(@RequestBody ComStreetVO comActVO){
+ return comStreetService.repssStreet(comActVO);
+ }
+
}
--
Gitblit v1.7.1