Pu Zhibing
8 天以前 7a4f9541331bef779a506b38a27ed5c3373c0bec
ruoyi-gateway/src/main/java/com/ruoyi/gateway/service/ValidateCodeService.java
@@ -1,6 +1,7 @@
package com.ruoyi.gateway.service;
import java.io.IOException;
import com.ruoyi.common.core.exception.CaptchaException;
import com.ruoyi.common.core.web.domain.AjaxResult;
@@ -9,15 +10,14 @@
 *
 * @author ruoyi
 */
public interface ValidateCodeService
{
    /**
     * 生成验证码
     */
    public AjaxResult createCaptcha() throws IOException, CaptchaException;
    /**
     * 校验验证码
     */
    public void checkCaptcha(String key, String value) throws CaptchaException;
public interface ValidateCodeService {
   /**
    * 生成验证码
    */
   public AjaxResult createCaptcha() throws IOException, CaptchaException;
   /**
    * 校验验证码
    */
   public void checkCaptcha(String key, String value) throws CaptchaException;
}