提交 0f591514 编写于 作者: 雪洛's avatar 雪洛

docs: update sendSms

上级 157aecec
......@@ -2,7 +2,7 @@
接口形式:`uniCloud.sendSms`
发送短信功能需要去DCloud开发者中心开通,详情参考【链接待补充】
发送短信功能需要去DCloud开发者中心开通,详情参考[使用短信服务](https://ask.dcloud.net.cn/article/37534)
**参数说明**
......@@ -16,7 +16,7 @@
**参数data结构**
目前短信功能包括两个模版,暂不可自定义模版,模版形式如下。参数data内的字段会填充到
目前短信功能包括两个模版,暂不可自定义模版,模版形式如下。参数data内的字段会填充到模版内容里。
|模版Id |模板内容 |
|:-: |:-: |
......@@ -25,12 +25,12 @@
**上述模版对应的data结构为**
|参数名 |类型 |必填 |说明 |
|:-: |:-: |:-: |:-: |
|name |String |是 |应用名称 |
|code |String |是 |验证码串 |
|action |String |是 |验证码用途 |
|expMinute|String |是 |验证码过期时间,单位分钟 |
|参数名 |类型 |必填 |说明 |
|:-: |:-: |:-: |:-: |
|name |String |是 |应用名称,长度限制15 |
|code |String |是 |验证码串,长度限制6 |
|action |String |是 |验证码用途,长度限制6 |
|expMinute|String |是 |验证码过期时间,单位分钟,长度限制2|
**返回值**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册