IntelligentRecognition/ah-jjsp-service/.svn/pristine/19/1924f7905ef5027e022a4c3d63c...

24 lines
525 B
Plaintext
Raw Normal View History

2024-05-24 16:09:40 +08:00
package com.securityControl.gateway.service;
import java.io.IOException;
import com.securityControl.common.core.exception.CaptchaException;
import com.securityControl.common.core.web.domain.AjaxResult;
/**
* 验证码处理
*
* @author czc
*/
public interface ValidateCodeService
{
/**
* 生成验证码
*/
public AjaxResult createCaptcha() throws IOException, CaptchaException;
/**
* 校验验证码
*/
public void checkCaptcha(String key, String value) throws CaptchaException;
}