From 7cfcea043f51a9dc6ffa642e897f6459149c8080 Mon Sep 17 00:00:00 2001
From: 罗元桥 <2376770955@qq.com>
Date: 星期六, 18 九月 2021 15:01:14 +0800
Subject: [PATCH] 修复bug

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/EldersAuthApi.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/EldersAuthApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/EldersAuthApi.java
index 76bb4b1..187fa24 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/EldersAuthApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/EldersAuthApi.java
@@ -167,7 +167,7 @@
      * @return
      */
     @PostMapping("/authtype")
-    R communityElderAuthType(@RequestBody EldersAuthTypeQueryDTO eldersAuthTypeQueryDTO) {
+    public R elderAuthType(@RequestBody EldersAuthTypeQueryDTO eldersAuthTypeQueryDTO) {
         return eldersAuthService.communityAuthType(eldersAuthTypeQueryDTO);
     }
 
@@ -434,7 +434,7 @@
      * @author txb
      * @date 2021/9/10 16:03
      */
-    @PutMapping("/authType/{type}")
+    @PutMapping("/new/authType/{type}")
     public R setAuthType(@RequestParam("communityId") Long communityId, @RequestParam("type") Integer type) {
         return eldersAuthService.setAuthType(communityId, type);
     }
@@ -446,7 +446,7 @@
      * @author txb
      * @date 2021/9/10 16:03
      */
-    @PostMapping("/authtype")
+    @PostMapping("/new/authtype")
     public R communityAuthType(@RequestBody EldersAuthTypeQueryDTO eldersAuthTypeQueryDTO) {
         return eldersAuthService.getAuthType(eldersAuthTypeQueryDTO);
     }

--
Gitblit v1.7.1