package com.everyday.word.service.inter;
|
|
import com.everyday.word.entity.SystemEnum;
|
import com.everyday.word.exception.SMSException;
|
|
import java.math.BigDecimal;
|
|
/**
|
* 短信服务
|
*
|
* @author Administrator
|
*
|
*/
|
public interface SMSService {
|
|
/**
|
* @author hxh
|
* @description 发送验证短信
|
* @date 17:06 2025/2/11
|
* @param: system
|
* @param: phone
|
* @param: codeLength
|
* @param: sence
|
* @return java.lang.String
|
**/
|
public String sendVerifyCode(SystemEnum system, String phone, int codeLength, int sence) throws SMSException;
|
|
/**
|
* @author hxh
|
* @description 获取验证码
|
* @date 13:07 2025/2/13
|
* @param: system
|
* @param: phone
|
* @param: sence
|
* @return java.lang.String
|
**/
|
public String getVerifyCode(SystemEnum system, String phone, int sence);
|
|
}
|