From 2b62b498fc15fe0dab3f5d3d6808ae4ee787a549 Mon Sep 17 00:00:00 2001 From: Administrator <450292408@qq.com> Date: Thu, 26 Aug 2021 09:09:10 +0000 Subject: [PATCH] docs: update wg-basic/wecaht --- wg-basic/wecaht.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/wg-basic/wecaht.md b/wg-basic/wecaht.md index 2de5338..a1b6332 100644 --- a/wg-basic/wecaht.md +++ b/wg-basic/wecaht.md @@ -2,7 +2,7 @@ title: 微信模块 description: 微信模块功能 published: true -date: 2021-08-26T09:04:32.389Z +date: 2021-08-26T09:09:09.295Z tags: wg-basic, wecaht editor: markdown dateCreated: 2021-08-26T08:21:24.080Z @@ -56,13 +56,14 @@ open-platform: # 认证方式,固定 grantType: authorization_code # 小程序的appKey - appKey: 123123123123123 + app-key: 123123123123123 # 小程序秘钥 - appSecret: 232323232323232323 + app-secret: 232323232323232323 # 公众号 official-account: - # 开启跨域 + # 激活状态 activate: false + # 公众号认证 authorize: authorize-url: https://open.weixin.qq.com/connect/oauth2/authorize access-token-url: https://api.weixin.qq.com/sns/oauth2/access_token @@ -72,8 +73,11 @@ open-platform: scope: snsapi_userinfo state: wechatRedirectUrl grant-type: authorization_code + # token地址 access-token-url: https://api.weixin.qq.com/cgi-bin/token + # 公众号appid app-id: 123123123123123 + # 公众号secret app-secret: 123123123123123123 grant-type: client_credential config-token: WenG