Skip to content

Commit c667400

Browse files
author
wenlixiu
committed
Merge branch 'master' of https://github.com/swan-team/swan-docs
2 parents 7d85c9f + 3dfa9fe commit c667400

File tree

15 files changed

+785
-95
lines changed

15 files changed

+785
-95
lines changed

program-docs/docs/develop/component/formlist_form.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ webUrl: https://qft12m.smartapps.cn/component/form/form
1717
|:-----|:---- |:---- |:----|:----|:----|
1818
|report-submit|Boolean| false ||是否返回formId用于发送<a href="https://smartprogram.baidu.com/docs/develop/serverapi/open_infomation/">模板消息</a> (工具上formId为`''`,请在真机上测试)。|1.12<p>低版本请做<a href="https://smartprogram.baidu.com/docs/develop/swan/compatibility/">兼容性处理</a>|
1919
|report-type| String | 'default' ||模板消息的类型,report-submit为true时填写有效。<br>取值:default或subscribe。|3.105.3<p>低版本请做<a href="https://smartprogram.baidu.com/docs/develop/swan/compatibility/">兼容性处理</a>|
20-
|template-id| String | ||report-type 为 subscribe 时必填,发送订阅类模板消息所用的模板库标题ID,可通过<a href="https://smartprogram.baidu.com/docs/develop/serverapi/getTemplateLibraryList/">getTemplateLibraryList</a>获取|3.105.3<p>低版本请做<a href="https://smartprogram.baidu.com/docs/develop/swan/compatibility/">兼容性处理</a>|
20+
|template-id| String | ||report-type 为 subscribe 时必填,发送订阅类模板消息所用的模板库标题ID(例如:BD0001),可通过<a href="https://smartprogram.baidu.com/docs/develop/serverapi/getTemplateLibraryList/">getTemplateLibraryList</a>获取,或在“开发者平台-运营中心-模板消息-模板库”浏览查找所需id|3.105.3<p>低版本请做<a href="https://smartprogram.baidu.com/docs/develop/swan/compatibility/">兼容性处理</a>|
2121
|subscribe-id| String | ||report-type 为 subscribe 时必填,发送订阅类模板消息时所使用的唯一标识符,内容由开发者自定义,用来标识订阅场景<br>注意:同一用户在同一 subscribe-id 下的多次授权不累积下发权限,只能下发一条。若要订阅多条,需要不同 subscribe-id |3.105.3<p>低版本请做<a href="https://smartprogram.baidu.com/docs/develop/swan/compatibility/">兼容性处理</a>|
2222
| bindsubmit | EventHandle | || 携带 form 中的数据触发 submit 事件,`event.detail = {value : {'name': 'value'}, formId: '', message: '', status: ''}`,当report-type 为 subscribe 时,status 和message 中返回用户授权具体信息| -|
2323
| bindreset | EventHandle | ||表单重置时会触发 reset 事件|- |

program-docs/docs/develop/serverapi/sendTemplateMessage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ touser|string|否|接收者swan_id
4343
touser\_openId|string|否|接收者open_id
4444
data|json/string|是|{"keyword1": {"value": "2018-09-06"},"keyword2": {"value": "kfc"}}
4545
page|string|否|点击模板卡片后的跳转页面,仅限本小程序内的页面。支持带参数,(示例index?foo=bar),该字段不填则模板无跳转。
46-
scene\_id|string|是|场景id,例如表单id和订单id
46+
scene\_id|string|是|场景id,例如表单id、 [orderId或payId](https://smartprogram.baidu.com/docs/develop/serverapi/useintroduction/)
4747
scene\_type|int|是| 场景type,1:表单;2:百度收银台订单;3:直连订单
4848
ext|json/string|否|{"xzh\_id":111,"category\_id":15} |
4949

program-docs/docs/develop/serverapi/type.md

+92-92
Large diffs are not rendered by default.

program-docs/docs/introduction/rank.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sidebar: rank
1414
![Alt text](../../img/flow/rank/1555413108354.png)
1515

1616
**搜索流量接入流程图**
17-
![Alt text](../../img/flow/rank/1555413083846.png)
17+
![Alt text](https://b.bdstatic.com/searchbox/icms/searchbox/img/替换图片.png)
1818

1919

2020

0 commit comments

Comments
 (0)