com.github.aqiu202.api.sms.template.SmsTemplate Maven / Gradle / Ivy
package com.github.aqiu202.api.sms.template;
import com.github.aqiu202.api.sms.exp.SmsException;
import com.github.aqiu202.api.sms.param.SmsRequest;
import java.util.Collection;
import java.util.Map;
/**
* 标准的SMS短信发送服务模版
* SMS短信发送服务,发送标准的SMS短信请求
* @author aqiu 2020/2/19 4:12 下午
**/
public interface SmsTemplate {
void sendMsg(SmsRequest smsRequest) throws SmsException;
void sendMsg(String templateType, String phoneNo, Map params)
throws SmsException;
void sendMsg(String templateType, Collection phoneNoList, Map params)
throws SmsException;
}