!320 【轻量级 PR】优化无用代码

Merge pull request !320 from MichelleChung/5.X
This commit is contained in:
疯狂的狮子Li 2023-03-30 03:44:52 +00:00 committed by Gitee
commit 4db6a638d4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 0 additions and 21 deletions

View File

@ -40,13 +40,6 @@ public interface ISysConfigService {
*/
boolean selectRegisterEnabled(String tenantId);
/**
* 获取验证码开关
*
* @return true开启false关闭
*/
boolean selectCaptchaEnabled();
/**
* 查询参数配置列表
*

View File

@ -94,20 +94,6 @@ public class SysConfigServiceImpl implements ISysConfigService, ConfigService {
return Convert.toBool(retConfig.getConfigValue());
}
/**
* 获取验证码开关
*
* @return true开启false关闭
*/
@Override
public boolean selectCaptchaEnabled() {
String captchaEnabled = SpringUtils.getAopProxy(this).selectConfigByKey("sys.account.captchaEnabled");
if (StringUtils.isEmpty(captchaEnabled)) {
return true;
}
return Convert.toBool(captchaEnabled);
}
/**
* 查询参数配置列表
*