mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-03-11 19:26:53 +08:00
修改错误单词拼写,由**Capcha**改为**Captcha**
This commit is contained in:
@@ -6,7 +6,7 @@ import com.ruoyi.common.core.web.domain.AjaxResult;
|
||||
|
||||
/**
|
||||
* 验证码处理
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
public interface ValidateCodeService
|
||||
@@ -14,10 +14,10 @@ public interface ValidateCodeService
|
||||
/**
|
||||
* 生成验证码
|
||||
*/
|
||||
public AjaxResult createCapcha() throws IOException, CaptchaException;
|
||||
public AjaxResult createCaptcha() throws IOException, CaptchaException;
|
||||
|
||||
/**
|
||||
* 校验验证码
|
||||
*/
|
||||
public void checkCapcha(String key, String value) throws CaptchaException;
|
||||
public void checkCaptcha(String key, String value) throws CaptchaException;
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ public class ValidateCodeServiceImpl implements ValidateCodeService
|
||||
* 生成验证码
|
||||
*/
|
||||
@Override
|
||||
public AjaxResult createCapcha() throws IOException, CaptchaException
|
||||
public AjaxResult createCaptcha() throws IOException, CaptchaException
|
||||
{
|
||||
AjaxResult ajax = AjaxResult.success();
|
||||
boolean captchaOnOff = captchaProperties.getEnabled();
|
||||
@@ -96,7 +96,7 @@ public class ValidateCodeServiceImpl implements ValidateCodeService
|
||||
* 校验验证码
|
||||
*/
|
||||
@Override
|
||||
public void checkCapcha(String code, String uuid) throws CaptchaException
|
||||
public void checkCaptcha(String code, String uuid) throws CaptchaException
|
||||
{
|
||||
if (StringUtils.isEmpty(code))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user