SmsCodeService.java 625 Bytes
package com.zhongzhi.service;

import com.zhongzhi.model.AdministerDO;
import com.zhongzhi.model.SmsCodeDO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 短信验证码 服务类
 * </p>
 *
 * @author DengMin
 * @since 2021-04-28
 */
public interface SmsCodeService extends IService<SmsCodeDO> {

    void sendRegisterCode(SmsCodeDO smsCodeDO);

    void sendStudentLoginCode(SmsCodeDO smsCodeDO);

    SmsCodeDO getOneByTelePhone(String telephone, String type, String platform);

    void sendAdministerLoginCode(AdministerDO administerDO);

    void sendJudgeLoginCode(SmsCodeDO smsCodeDO);
}