update 发送验证码时不返回
This commit is contained in:
+4
-4
@@ -393,8 +393,8 @@ public class CompanyLoginController {
|
|||||||
@RequestParam(name="codeType") String codeType) {
|
@RequestParam(name="codeType") String codeType) {
|
||||||
if("3".equals(codeType)) {
|
if("3".equals(codeType)) {
|
||||||
sysBaseAPI.sendVerificationCode(phone,codeType,"300",null);
|
sysBaseAPI.sendVerificationCode(phone,codeType,"300",null);
|
||||||
String string = redisUtil.get("_verification:_phone:" + phone).toString();
|
//String string = redisUtil.get("_verification:_phone:" + phone).toString();
|
||||||
return Result.OK(string);
|
return Result.OK();
|
||||||
|
|
||||||
}
|
}
|
||||||
LambdaQueryWrapper<PayContactsManagement> queryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<PayContactsManagement> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
@@ -404,8 +404,8 @@ public class CompanyLoginController {
|
|||||||
throw new JeroBootException("手机号不是企业联系人");
|
throw new JeroBootException("手机号不是企业联系人");
|
||||||
}
|
}
|
||||||
sysBaseAPI.sendVerificationCode(phone,codeType,"300",null);
|
sysBaseAPI.sendVerificationCode(phone,codeType,"300",null);
|
||||||
String string = redisUtil.get("_verification:_phone:" + phone).toString();
|
//String string = redisUtil.get("_verification:_phone:" + phone).toString();
|
||||||
return Result.OK(string);
|
return Result.OK();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation(value = "短信验证码修改密码")
|
@ApiOperation(value = "短信验证码修改密码")
|
||||||
|
|||||||
+2
-2
@@ -640,7 +640,7 @@ public class LoginController {
|
|||||||
throw new JeroBootException("手机号或账号不存在");
|
throw new JeroBootException("手机号或账号不存在");
|
||||||
}
|
}
|
||||||
sysBaseAPI.sendVerificationCode(phone,"2","300",null);
|
sysBaseAPI.sendVerificationCode(phone,"2","300",null);
|
||||||
String string = redisUtil.get("_verification:_phone:" + phone).toString();
|
//String string = redisUtil.get("_verification:_phone:" + phone).toString();
|
||||||
return Result.OK(string);
|
return Result.OK();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user