心悦李国楠
2020-07-03 e0ba2ba3c5f7ad3f289c6ad9278023d7f9e46f66
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
}