public interface SMSListener
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
after(SMSResult result,
String instance,
String sign,
String template,
String extend,
String out,
String mobile,
Map<String,String> params) |
boolean |
before(String instance,
String sign,
String template,
String extend,
String out,
String mobile,
Map<String,String> params)
发送短信
|
boolean before(String instance, String sign, String template, String extend, String out, String mobile, Map<String,String> params)
instance - 实例KEYsign - 签名(如果不指定则使用配置文件中默认签名)template - 模板code(SMS_88550009,注意不要写成工单号)mobile - 手机号,多个以逗号分隔params - 参数extend - 上行短信扩展码。上行短信指发送给通信服务提供商的短信,用于定制某种服务、完成查询,或是办理某种业务等,需要收费,按运营商普通短信资费进行扣费。out - 外部流水扩展字段。Copyright © 2024. All rights reserved.