@Service public class YunTongXunSmsTemplate extends Object implements SmsTemplate
| 限定符和类型 | 字段和说明 |
|---|---|
private static org.slf4j.Logger |
LOGGER |
private YunTongXunInfo |
yunTongXunInfo |
| 构造器和说明 |
|---|
YunTongXunSmsTemplate() |
| 限定符和类型 | 方法和说明 |
|---|---|
SmsManufacturer |
manufacturer()
短信厂商
|
void |
sendSmsContentOfText(String[] mobiles,
String templateId,
String[] data)
发送短信
|
void |
sendSmsContentOfVoice(String mobile,
String verifyCode,
String displayNum,
String playTimes)
下发语音验证码
|
private static final org.slf4j.Logger LOGGER
private YunTongXunInfo yunTongXunInfo
public void sendSmsContentOfText(String[] mobiles, String templateId, String[] data) throws IOException
SmsTemplatesendSmsContentOfText 在接口中 SmsTemplatemobiles - 手机号码,支持多个号码templateId - 模板IDdata - 模板统配内容集合IOException - exceptionpublic void sendSmsContentOfVoice(String mobile, String verifyCode, String displayNum, String playTimes) throws IOException
SmsTemplatesendSmsContentOfVoice 在接口中 SmsTemplatemobile - mobileverifyCode - verify codedisplayNum - display numberplayTimes - play timesIOException - exceptionpublic SmsManufacturer manufacturer()
SmsTemplatemanufacturer 在接口中 SmsTemplateCopyright © 2016. All rights reserved.