mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	update 优化无用代码 ;
This commit is contained in:
		@@ -40,13 +40,6 @@ public interface ISysConfigService {
 | 
			
		||||
     */
 | 
			
		||||
    boolean selectRegisterEnabled(String tenantId);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 获取验证码开关
 | 
			
		||||
     *
 | 
			
		||||
     * @return true开启,false关闭
 | 
			
		||||
     */
 | 
			
		||||
    boolean selectCaptchaEnabled();
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 查询参数配置列表
 | 
			
		||||
     *
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 查询参数配置列表
 | 
			
		||||
     *
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user