Blame view

SmsCodeService.java 625 Bytes
涂亚平 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
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);
}