From 43f0578e80af82ecae6c61b51bd0539c6b960603 Mon Sep 17 00:00:00 2001
From: puhanshu <a9236326>
Date: 星期二, 16 八月 2022 19:08:32 +0800
Subject: [PATCH] 服务范围优化

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunitySwitchApi.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunitySwitchApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunitySwitchApi.java
index 7f90e4f..3c4a7ee 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunitySwitchApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunitySwitchApi.java
@@ -24,8 +24,8 @@
      * @return 社区列表
      */
     @GetMapping("/community/all/list")
-    public R getCommunityAllList() {
-        return comActService.getCommunityAllList();
+    public R getCommunityAllList(@RequestParam("appId") String appId) {
+        return comActService.getCommunityAllList(appId);
     }
 
     /**
@@ -36,8 +36,8 @@
      * @return 社区列表
      */
     @GetMapping("/community/search/list")
-    public R communitySwitchSearchList(@RequestParam(value = "name") String name) {
-        return comActService.communitySwitchSearchList(name);
+    public R communitySwitchSearchList(@RequestParam(value = "name") String name,@RequestParam(value = "appId") String appId) {
+        return comActService.communitySwitchSearchList(name,appId);
     }
 
     /**

--
Gitblit v1.7.1