From 38596b03540250dd7de85c49f53ece5dd6bfe5b7 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期四, 10 十一月 2022 13:19:14 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/huacheng_test' into huacheng_test --- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/CommunitySwitchApi.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/CommunitySwitchApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/CommunitySwitchApi.java index e85dfb2..2e8ffc4 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/CommunitySwitchApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/CommunitySwitchApi.java @@ -27,19 +27,18 @@ @ApiOperation(value = "查询所有社区", response = StreetAllAppletsVO.class) @GetMapping("/list/noToken") public R list() { - return communityService.communitySwitchList(this.getAreaCode()); + return communityService.communitySwitchList(this.getAppId()); } @ApiOperation(value = "根据名字搜索社区", response = CommunitySwitchAllAppletsVO.class) @GetMapping("/search/noToken") public R search(@RequestParam(value = "name") String name) { - return communityService.communitySwitchSearchList(name,this.getAreaCode()); + return communityService.communitySwitchSearchList(name,this.getAppId()); } @ApiOperation(value = "根据距离搜索社区", response = CommunitySwitchAllAppletsVO.class) @PostMapping("/distance/noToken") public R searchDistance(@RequestBody SearchCommunityDTO communityDTO) { - communityDTO.setAreaCode(this.getAreaCode()); return communityService.communitySwitchSearchDistanceList(communityDTO); } -- Gitblit v1.7.1