提交 f510e4a6 编写于 作者: minghao.wu's avatar minghao.wu

fix: 使用未绑定的appleId登录后用一键登录报错

上级 de11829e
流水线 #34806 已失败 于阶段
in 0 second
......@@ -150,7 +150,7 @@ public class LoginV1ServiceImpl implements LoginV1Service {
} else {
// 根据userId获取手机号
PICAPDoctor doctor = doctorInfoMapper.queryDoctor(userId);
if (doctor == null) {
if (doctor == null || StringUtils.isEmpty(doctor.getMobile_phone())) {
// 医生被删掉了,直接登录
result = processLoginV1(baseRequest, accountInfoEntity.getId(), AccountTypeEnum.LOGIN_ONE_CLICK.getCode(), queryMobileEntity);
} else {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册