fuint-application/application-service/src/main/java/com/fuint/application/service/verifycode/VerifyCodeService.java

(完整代码) 1KB

package com.fuint.application.service.verifycode;

import com.fuint.exception.BusinessCheckException;
import com.fuint.application.dao.entities.MtVerifyCode;

/**
 * 验证码接口
 * Created by FSQ
 * Contact wx fsq_better
 * Site https://www.fuint.cn
 */
public interface VerifyCodeService {
    /**
     * 添加验证码
     *
     * @param mobile
     * @param verifycode
     * @param expireSecond 间隔秒数
     * @throws BusinessCheckException
     */
    MtVerifyCode addVerifyCode(String mobile, String verifycode,Integer expireSecond) throws BusinessCheckException;

    /**
     * 根据手机号,验证码,查询时间
     *
     * @param mobile 电话号码
     * @param verifycode 验证码
     * @throws BusinessCheckException
     */
    MtVerifyCode checkVerifyCode(String mobile, String verifycode) throws BusinessCheckException;

    /**
     * 更改验证码状态
     *
     * @param id
     * @throws BusinessCheckException
     */
    MtVerifyCode updateValidFlag(Long id, String validFlag) throws BusinessCheckException;
   }

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。