From fa241ced9218ad964837ae4e6584665b89df2db9 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期四, 10 六月 2021 19:14:15 +0800 Subject: [PATCH] 修改bug --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/EldersAuthServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/EldersAuthServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/EldersAuthServiceImpl.java index 9710648..0034f1a 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/EldersAuthServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/EldersAuthServiceImpl.java @@ -245,7 +245,7 @@ */ @Override @Transactional(rollbackFor = Exception.class) - public R addAuthByEldersApp(ComEldersAuthGetResultDTO authGetResultDTO){ + public R addAuthByEldersApp(ComEldersAuthGetResultDTO authGetResultDTO) throws Exception{ ComEldersAuthUserDO authUserDO = comEldersAuthUserMapper.selectById(authGetResultDTO.getAuthUserId()); if(authUserDO != null){ String idCard = authUserDO.getIdCard(); @@ -287,6 +287,7 @@ } authUserDO.setIsAuth(ComEldersAuthUserDO.isAuth.yes); + authUserDO.setIdCard(AESUtil.encrypt128(authUserDO.getIdCard(), aesKey)); comEldersAuthUserMapper.updateById(authUserDO); return R.ok(eldersAuthDO.getId()); -- Gitblit v1.7.1