From f018fc15c06943e157839c44064649a4bac82d50 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期四, 16 九月 2021 13:22:15 +0800 Subject: [PATCH] 高龄认证后台缺失接口开发 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/EldersAuthApi.java | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 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 39e2966..76bb4b1 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 @@ -426,5 +426,30 @@ return comPensionAuthRecordService.timedTaskPensionAuthStatisticsJobHandler(); } + /** + * 设置当前社区养老认证方式:核验类型(1.视频认证 2.人脸核验) + * @param communityId 社区id + * @param type 检验类型 + * @return R 设置结果 + * @author txb + * @date 2021/9/10 16:03 + */ + @PutMapping("/authType/{type}") + public R setAuthType(@RequestParam("communityId") Long communityId, @RequestParam("type") Integer type) { + return eldersAuthService.setAuthType(communityId, type); + } + + /** + * 查询养老认证社区认证方式 setPensionAuthType 查询养老认证社区认证方式 + * @param eldersAuthTypeQueryDTO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/10 16:03 + */ + @PostMapping("/authtype") + public R communityAuthType(@RequestBody EldersAuthTypeQueryDTO eldersAuthTypeQueryDTO) { + return eldersAuthService.getAuthType(eldersAuthTypeQueryDTO); + } + } -- Gitblit v1.7.1