From e3a56fbade452e268f2c16f146c89e91fbabd986 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期四, 16 九月 2021 13:44:42 +0800
Subject: [PATCH] bug修复

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java      |    4 ++--
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/EldersAuthApi.java |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
index a65d210..2a44c25 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
@@ -5682,7 +5682,7 @@
      * @param eldersAuthTypeQueryDTO    请求参数
      * @return  社区高龄认证方式(1.视频认证 2.人脸核验)
      */
-    @PostMapping("/elders/authtype")
+    @PostMapping("/elders/new/authtype")
     R communityEldersAuthType(@RequestBody EldersAuthTypeQueryDTO eldersAuthTypeQueryDTO);
 
     /**
@@ -5691,6 +5691,6 @@
      * @param    type         检验类型
      * @return    R  设置结果
      */
-    @PutMapping("/elders/authType/{type}")
+    @PutMapping("/elders/new/authType/{type}")
     R setEldersAuthType(@RequestParam("communityId") Long communityId, @RequestParam("type") Integer type);
 }
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