From d389ae50010bc92e0d8b7ad97dda25798872db54 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期二, 21 三月 2023 14:23:42 +0800
Subject: [PATCH] 修改银联退款接口 修改随手拍
---
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