From b30e1a48f2bc5f65a0efd2e69e090fed2d7a627c Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期四, 17 十一月 2022 15:56:43 +0800 Subject: [PATCH] #feat 订单退款和查询 --- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/CommunitySwitchApi.java | 7 ++++--- 1 files changed, 4 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 47aa3b2..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 @@ -2,6 +2,7 @@ import javax.annotation.Resource; +import com.panzhihua.common.controller.BaseController; import org.springframework.web.bind.annotation.*; import com.panzhihua.common.model.dtos.community.switchs.SearchCommunityDTO; @@ -18,7 +19,7 @@ @RestController @RequestMapping("/switch/") @Api(tags = {"切换社区模块"}) -public class CommunitySwitchApi { +public class CommunitySwitchApi extends BaseController { @Resource private CommunityService communityService; @@ -26,13 +27,13 @@ @ApiOperation(value = "查询所有社区", response = StreetAllAppletsVO.class) @GetMapping("/list/noToken") public R list() { - return communityService.communitySwitchList(); + 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); + return communityService.communitySwitchSearchList(name,this.getAppId()); } @ApiOperation(value = "根据距离搜索社区", response = CommunitySwitchAllAppletsVO.class) -- Gitblit v1.7.1