|
@@ -429,14 +429,6 @@ public class CommonUserServiceImpl extends ServiceImpl<CommonUserMapper, CommonU
|
|
|
if (CollectionUtils.isEmpty(commonStaffList)) {
|
|
|
throw new AppServiceException(ExceptionDefinition.USER_PHONE_NOT_EXIST);
|
|
|
}
|
|
|
- } else {
|
|
|
- //2.校验用户是否存在
|
|
|
- List<CommonUser> targetUserList = this.selectList(
|
|
|
- new EntityWrapper<CommonUser>()
|
|
|
- .eq("phone", phone).eq("identification", identification));
|
|
|
- if (CollectionUtils.isEmpty(targetUserList)) {
|
|
|
- throw new AppServiceException(ExceptionDefinition.USER_PHONE_NOT_EXIST);
|
|
|
- }
|
|
|
}
|
|
|
String verifyCode = GeneratorUtil.genSixVerifyCode();
|
|
|
System.out.println("verifyCode:" + verifyCode);
|