update 优化无用代码 ;

feature/model
zlyx 2 years ago
parent 63a240b1d4
commit a29550445d

@ -40,13 +40,6 @@ public interface ISysConfigService {
*/
boolean selectRegisterEnabled(String tenantId);
/**
*
*
* @return truefalse
*/
boolean selectCaptchaEnabled();
/**
*
*

@ -94,20 +94,6 @@ public class SysConfigServiceImpl implements ISysConfigService, ConfigService {
return Convert.toBool(retConfig.getConfigValue());
}
/**
*
*
* @return truefalse
*/
@Override
public boolean selectCaptchaEnabled() {
String captchaEnabled = SpringUtils.getAopProxy(this).selectConfigByKey("sys.account.captchaEnabled");
if (StringUtils.isEmpty(captchaEnabled)) {
return true;
}
return Convert.toBool(captchaEnabled);
}
/**
*
*

Loading…
Cancel
Save