You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
519 B
23 lines
519 B
package com.ruoyi.gateway.service; |
|
|
|
import java.io.IOException; |
|
import com.ruoyi.common.core.exception.CaptchaException; |
|
import com.ruoyi.common.core.web.domain.AjaxResult; |
|
|
|
/** |
|
* 验证码处理 |
|
* |
|
* @author ruoyi |
|
*/ |
|
public interface ValidateCodeService |
|
{ |
|
/** |
|
* 生成验证码 |
|
*/ |
|
public AjaxResult createCapcha() throws IOException, CaptchaException; |
|
|
|
/** |
|
* 校验验证码 |
|
*/ |
|
public void checkCapcha(String key, String value) throws CaptchaException; |
|
}
|
|
|