wx手机号登录修改, wxopenid登录新增,通讯录数据查询修改
parent
e3577b1cd9
commit
f25631558e
|
|
@ -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("当前账号无法登录,请联系上级管理员!");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue