添加获取验证码方法上遗漏的@Override注解

master
mroldx 3 years ago
parent 7be17ea89a
commit d9e805a6a5
  1. 12
      ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java

@ -1,10 +1,5 @@
package com.ruoyi.system.service.impl; package com.ruoyi.system.service.impl;
import java.util.Collection;
import java.util.List;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.common.annotation.DataSource; import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.constant.Constants; import com.ruoyi.common.constant.Constants;
import com.ruoyi.common.constant.UserConstants; import com.ruoyi.common.constant.UserConstants;
@ -16,6 +11,12 @@ import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.system.domain.SysConfig; import com.ruoyi.system.domain.SysConfig;
import com.ruoyi.system.mapper.SysConfigMapper; import com.ruoyi.system.mapper.SysConfigMapper;
import com.ruoyi.system.service.ISysConfigService; import com.ruoyi.system.service.ISysConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.annotation.PostConstruct;
import java.util.Collection;
import java.util.List;
/** /**
* 参数配置 服务层实现 * 参数配置 服务层实现
@ -85,6 +86,7 @@ public class SysConfigServiceImpl implements ISysConfigService
* *
* @return true开启false关闭 * @return true开启false关闭
*/ */
@Override
public boolean selectCaptchaOnOff() public boolean selectCaptchaOnOff()
{ {
String captchaOnOff = selectConfigByKey("sys.account.captchaOnOff"); String captchaOnOff = selectConfigByKey("sys.account.captchaOnOff");

Loading…
Cancel
Save