From 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期一, 09 六月 2025 11:54:00 +0800
Subject: [PATCH] 6.9新增登录失败冻结逻辑

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunitySwitchApi.java |   32 +++++++++++++++++++-------------
 1 files changed, 19 insertions(+), 13 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 3b1d001..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
@@ -1,13 +1,14 @@
 package com.panzhihua.service_community.api;
 
+import javax.annotation.Resource;
+
+import org.springframework.web.bind.annotation.*;
+
 import com.panzhihua.common.model.dtos.community.switchs.SearchCommunityDTO;
 import com.panzhihua.common.model.vos.R;
 import com.panzhihua.service_community.service.ComActService;
+
 import lombok.extern.slf4j.Slf4j;
-import org.springframework.web.bind.annotation.*;
-
-import javax.annotation.Resource;
-
 
 @Slf4j
 @RestController
@@ -19,27 +20,32 @@
 
     /**
      * 查询社区所有列表
-     * @return  社区列表
+     * 
+     * @return 社区列表
      */
     @GetMapping("/community/all/list")
-    public R getCommunityAllList() {
-        return comActService.getCommunityAllList();
+    public R getCommunityAllList(@RequestParam("appId") String appId) {
+        return comActService.getCommunityAllList(appId);
     }
 
     /**
      * 根据名字查询所有社区列表
-     * @param name  社区名字
-     * @return  社区列表
+     * 
+     * @param name
+     *            社区名字
+     * @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);
     }
 
     /**
      * 根据经纬度以及距离搜索附近社区列表
-     * @param communityDTO  请求参数
-     * @return  社区列表
+     * 
+     * @param communityDTO
+     *            请求参数
+     * @return 社区列表
      */
     @PostMapping("/community/search/distance/list")
     public R communitySwitchSearchDistanceList(@RequestBody SearchCommunityDTO communityDTO) {

--
Gitblit v1.7.1