From fcccf88621e51fd8b5e856dc00e087914e293951 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期二, 25 五月 2021 14:17:03 +0800
Subject: [PATCH] 实有人口优化

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComMngVillageApi.java |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComMngVillageApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComMngVillageApi.java
index 4721989..28f80e6 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComMngVillageApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComMngVillageApi.java
@@ -94,4 +94,16 @@
     public R editvillage(@PathVariable("villageId")Long villageId,@Valid @RequestBody ComMngVillageVO comMngVillageVO) {
         return comMngVillageService.editVillage(villageId,comMngVillageVO);
     }
+
+    /**
+     * 小区详情
+     * @param villageId 小区id
+     * @return  小区详情
+     */
+    @PostMapping("/village/getVillage")
+    public R getVillage(@RequestParam("villageId") Long villageId) {
+        return comMngVillageService.getVillage(villageId);
+    }
+
+
 }

--
Gitblit v1.7.1