fix:企业端分标委

This commit is contained in:
zhangqinlin
2021-12-17 10:32:02 +08:00
parent af12686a85
commit 47c9581ca8
3 changed files with 27 additions and 31 deletions
@@ -80,15 +80,15 @@ public class PayCaseCommitteeServiceImpl extends ServiceImpl<PayCaseCommitteeMap
e.printStackTrace();
}
//处理手机获取验证码的逻辑
Object obj = redisUtil.get("_verification:_phone:" + phone);
if (obj == null) {
throw new JeroBootException("验证码失效,请重新发送");
}
String code = obj.toString();
if (!registerSelf.getVerifyCode().equals(code)) {
throw new JeroBootException("验证码错误!");
}
// //处理手机获取验证码的逻辑
// Object obj = redisUtil.get("_verification:_phone:" + phone);
// if (obj == null) {
// throw new JeroBootException("验证码失效,请重新发送");
// }
// String code = obj.toString();
// if (!registerSelf.getVerifyCode().equals(code)) {
// throw new JeroBootException("验证码错误!");
// }
if (!password.equals(verifyPassword)) {
throw new JeroBootException("新密码和确认密码不一致,请重新输入");