public interface SmsTemplate
| 限定符和类型 | 方法和说明 |
|---|---|
SmsManufacturer |
manufacturer()
短信厂商
|
void |
sendSmsContentOfText(String[] mobiles,
String templateId,
String[] data)
发送短信
|
void |
sendSmsContentOfVoice(String mobile,
String verifyCode,
String displayNum,
String playTimes)
下发语音验证码
|
void sendSmsContentOfText(String[] mobiles, String templateId, String[] data) throws IOException
mobiles - 手机号码,支持多个号码templateId - 模板IDdata - 模板统配内容集合IOException - exceptionvoid sendSmsContentOfVoice(String mobile, String verifyCode, String displayNum, String playTimes) throws IOException
mobile - mobileverifyCode - verify codedisplayNum - display numberplayTimes - play timesIOException - exceptionSmsManufacturer manufacturer()
Copyright © 2016. All rights reserved.