加密openId

master
shijie 4 years ago
parent ab374ac524
commit dc1f175e52
  1. 2
      dq-financial-hrms-auth/src/main/java/com/daqing/financial/hrauth/service/impl/UserServiceImpl.java

@ -61,7 +61,7 @@ public class UserServiceImpl extends ServiceImpl<UserLoginDao, UserEntity> imple
//对code(回调过来的openid)加密 //对code(回调过来的openid)加密
String md5OpenId = Md5Util.md5(openId); String md5OpenId = Md5Util.md5(openId);
log.info("accessToken========> "+accessToken+"openId========> "+openId+"code=======> "+code); log.info("accessToken========> "+accessToken+"openId========> "+openId+"code=======> "+code+"md5OpenId============>"+md5OpenId);
UserEntity dbUser = userMapper.findByOpenid(md5OpenId); UserEntity dbUser = userMapper.findByOpenid(md5OpenId);

Loading…
Cancel
Save