Commit 7afa0af3aeae676b60de505385962962d422e1ba
1 parent
efef70e2
update
Showing
1 changed file
with
38 additions
and
0 deletions
10.消息云/1.3 发送多变量短信接口.md
0 → 100644
| 1 | +#### 请求参数说明: | |
| 2 | +| 参数名 | 参数类型 | 必选 | 参数说明 | | |
| 3 | +| :-----------: | :------: | :------: | :------: | | |
| 4 | +| appId | string | true | 应用ID | | |
| 5 | +| taskId | string | true | 短信模板ID <a href="http://console.open.cnlive.com/open/doc/sys/xiaoxi/366df881-2582-44ab-9b96-7fab86742e6b/10.消息云/1.1.1%20发送短信-taskId说明">taskId说明</a>| | |
| 6 | +| signatureId | string | false | 短信签名ID <a href="http://console.open.cnlive.com/open/doc/sys/xiaoxi/366df881-2582-44ab-9b96-7fab86742e6b/10.消息云/1.1.2%20发送短信-signatureId说明">signatureId说明</a>| | |
| 7 | +| mobile | string | true | 手机号 | | |
| 8 | +| content | string | true | 模板内容参数,多变量以双下划綫连接 例:百度__中关村科技园__度娘__13800138000 | | |
| 9 | +| sign | string | true | 签名 | | |
| 10 | +----- | |
| 11 | +#### 规则说明: | |
| 12 | +``` | |
| 13 | +1.一分钟内一个手机号只允许发送一条; | |
| 14 | +2.一天内一个手机号只允许发送二十条; | |
| 15 | +``` | |
| 16 | +----- | |
| 17 | +#### 返回格式说明: | |
| 18 | +``` | |
| 19 | +{ | |
| 20 | + "errorCode":"0", | |
| 21 | + "errorMessage":"成功" | |
| 22 | +} | |
| 23 | + | |
| 24 | +{ | |
| 25 | + "errorCode":"100001", | |
| 26 | + "errorMessage":"短信发送次数过多" | |
| 27 | +} | |
| 28 | + | |
| 29 | +{ | |
| 30 | + "errorCode":"100002", | |
| 31 | + "errorMessage":"短信发送失败" | |
| 32 | +} | |
| 33 | + | |
| 34 | +{ | |
| 35 | + "errorCode":"100000", | |
| 36 | + "errorMessage":"消息其它异常" | |
| 37 | +} | |
| 38 | +``` | |
| 0 | 39 | \ No newline at end of file | ... | ... |