疯狂的狮子li
2022-08-23 3950f3c86967c977ad8c47894ff5b6ada4dfe3b9
ruoyi-system/src/main/java/com/ruoyi/system/service/SysRegisterService.java
@@ -43,9 +43,9 @@
        // 校验用户类型是否存在
        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);
        }