|
@@ -80,8 +80,7 @@ public class OpenStudentController extends BaseController {
|
|
if (StringUtils.isEmpty(code)) {
|
|
if (StringUtils.isEmpty(code)) {
|
|
throw new BizException("验证码不能为空");
|
|
throw new BizException("验证码不能为空");
|
|
}
|
|
}
|
|
- if (!smsCodeService.verifyValidCode(student.getPhone(), code,
|
|
|
|
- MessageTypeEnum.SMS_VERIFY_CODE_REGISTER.getCode())) {
|
|
|
|
|
|
+ if (!smsCodeService.verifyValidCode(student.getPhone(), code, "REGISTER")) {
|
|
throw new BizException("验证码错误");
|
|
throw new BizException("验证码错误");
|
|
}
|
|
}
|
|
Long tenantId = student.getTenantId();
|
|
Long tenantId = student.getTenantId();
|