update 同步 ruoyi

This commit is contained in:
疯狂的狮子li
2022-07-27 18:34:45 +08:00
24 changed files with 318 additions and 267 deletions

View File

@ -43,9 +43,9 @@ public class SysRegisterService {
// 校验用户类型是否存在
String userType = UserType.getUserType(registerBody.getUserType()).getUserType();
boolean captchaOnOff = configService.selectCaptchaOnOff();
boolean captchaEnabled = configService.selectCaptchaEnabled();
// 验证码开关
if (captchaOnOff) {
if (captchaEnabled) {
validateCaptcha(username, registerBody.getCode(), registerBody.getUuid(), request);
}