docs: update wg-basic/wecaht
This commit is contained in:
parent
998e8924c2
commit
2b62b498fc
@ -2,7 +2,7 @@
|
|||||||
title: 微信模块
|
title: 微信模块
|
||||||
description: 微信模块功能
|
description: 微信模块功能
|
||||||
published: true
|
published: true
|
||||||
date: 2021-08-26T09:04:32.389Z
|
date: 2021-08-26T09:09:09.295Z
|
||||||
tags: wg-basic, wecaht
|
tags: wg-basic, wecaht
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2021-08-26T08:21:24.080Z
|
dateCreated: 2021-08-26T08:21:24.080Z
|
||||||
@ -56,13 +56,14 @@ open-platform:
|
|||||||
# 认证方式,固定
|
# 认证方式,固定
|
||||||
grantType: authorization_code
|
grantType: authorization_code
|
||||||
# 小程序的appKey
|
# 小程序的appKey
|
||||||
appKey: 123123123123123
|
app-key: 123123123123123
|
||||||
# 小程序秘钥
|
# 小程序秘钥
|
||||||
appSecret: 232323232323232323
|
app-secret: 232323232323232323
|
||||||
# 公众号
|
# 公众号
|
||||||
official-account:
|
official-account:
|
||||||
# 开启跨域
|
# 激活状态
|
||||||
activate: false
|
activate: false
|
||||||
|
# 公众号认证
|
||||||
authorize:
|
authorize:
|
||||||
authorize-url: https://open.weixin.qq.com/connect/oauth2/authorize
|
authorize-url: https://open.weixin.qq.com/connect/oauth2/authorize
|
||||||
access-token-url: https://api.weixin.qq.com/sns/oauth2/access_token
|
access-token-url: https://api.weixin.qq.com/sns/oauth2/access_token
|
||||||
@ -72,8 +73,11 @@ open-platform:
|
|||||||
scope: snsapi_userinfo
|
scope: snsapi_userinfo
|
||||||
state: wechatRedirectUrl
|
state: wechatRedirectUrl
|
||||||
grant-type: authorization_code
|
grant-type: authorization_code
|
||||||
|
# token地址
|
||||||
access-token-url: https://api.weixin.qq.com/cgi-bin/token
|
access-token-url: https://api.weixin.qq.com/cgi-bin/token
|
||||||
|
# 公众号appid
|
||||||
app-id: 123123123123123
|
app-id: 123123123123123
|
||||||
|
# 公众号secret
|
||||||
app-secret: 123123123123123123
|
app-secret: 123123123123123123
|
||||||
grant-type: client_credential
|
grant-type: client_credential
|
||||||
config-token: WenG
|
config-token: WenG
|
||||||
|
Loading…
Reference in New Issue
Block a user