Skip to content

Commit

Permalink
增加 ACCESS_TOKEN 获取的说明
Browse files Browse the repository at this point in the history
  • Loading branch information
arcturus011 committed Sep 29, 2018
1 parent 9dd450e commit 182e25c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* [调用云函数](js-sdk/invoke-function.md)
* [检测违规图片、文本](js-sdk/censor.md)
* [短信验证码](js-sdk/sms.md)
* [错误对象和错误码详解](js-sdk/error-code.md)
* [错误码和 HError 对象](js-sdk/error-code.md)
* [SDK 下载](js-sdk/download-sdk.md)
* [更新日志](https://github.com/ifanrx/hydrogen-js-sdk/blob/master/CHANGELOG.md)

Expand Down Expand Up @@ -134,6 +134,7 @@
* [发送模板消息](cloud-function/node-sdk/template-message.md)
* [网络请求](cloud-function/node-sdk/request.md)
* [检测违规图片、文本](cloud-function/node-sdk/censor.md)
* [获取 ACCESS_TOKEN](cloud-function/node-sdk/access-token.md)
* [用户](cloud-function/node-sdk/user.md)
* [用户组操作](cloud-function/node-sdk/user-group.md)
* [组集操作](cloud-function/node-sdk/super-group.md)
Expand Down
3 changes: 3 additions & 0 deletions cloud-function/node-sdk/access-token.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# 获取微信 ACCESS_TOKEN

开发者授权知晓云后,知晓云在调用微信 API 时,会获取最新的 ACCESS_TOKEN ,这时如果开发者在自己的服务器上也刷新了 ACCESS_TOKEN 去调用微信的 API,会使知晓云的保存的 ACCESS_TOKEN 失效,会造成额外的 ACCESS_TOKEN 刷新,浪费 ACCESS_TOKEN 的生成次数。
因此知晓云开放了获取知晓云保存的 ACCESS_TOKEN 的 API,开发者只管获取 ACCESS_TOKEN,而无需担心 ACCESS_TOKEN 过期的问题。

`BaaS.wxAccessToken(signKey)`

## 参数说明
Expand Down

0 comments on commit 182e25c

Please sign in to comment.