wx手机号登录修改, wxopenid登录新增,通讯录数据查询修改

master
徐杰盟 2024-06-04 14:46:00 +08:00
parent e3577b1cd9
commit f25631558e
1 changed files with 0 additions and 13 deletions

View File

@ -224,19 +224,6 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
} }
BeanUtils.copyProperties(sysUser, out); BeanUtils.copyProperties(sysUser, out);
if (StringUtils.isNotBlank(book.getOpenid())){
if(!openid.equals(book.getOpenid())){
throw new MyException("当前手机号已绑定其他账号,请先解绑!");
}
}else{
book.setOpenid(openid);
if (!book.updateById()) {
throw new MyException("openid保存失败");
}
}
if (!book.getIsPass()){ if (!book.getIsPass()){
// throw new MyException("当前账号无法登录,请联系上级管理员!"); // throw new MyException("当前账号无法登录,请联系上级管理员!");
} }