|
|
@ -94,20 +94,6 @@ public class SysConfigServiceImpl implements ISysConfigService, ConfigService {
|
|
|
|
return Convert.toBool(retConfig.getConfigValue());
|
|
|
|
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);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 查询参数配置列表
|
|
|
|
* 查询参数配置列表
|
|
|
|
*
|
|
|
|
*
|
|
|
|