|
|
@@ -658,7 +658,8 @@ public class AuthServiceImpl implements AuthService {
|
|
658
|
658
|
|
|
659
|
659
|
//查询表中是否已注册
|
|
660
|
660
|
List<UserCollectLogin> userCollectLogins = userCollectLoginMapper.selectList(new LambdaQueryWrapper<UserCollectLogin>()
|
|
661
|
|
- .eq(UserCollectLogin::getPhone, phone));
|
|
|
661
|
+ .eq(UserCollectLogin::getPhone, phone)
|
|
|
662
|
+ .in(UserCollectLogin::getType,2,3));
|
|
662
|
663
|
|
|
663
|
664
|
if (CollectionUtil.isNotEmpty(userCollectLogins)) {
|
|
664
|
665
|
throw new CommonException(AuthExceptionEnum.USER_IN.getValue());
|