docs: update wg-basic/wecaht
This commit is contained in:
parent
c1684aa4cd
commit
cadac48a2c
@ -2,7 +2,7 @@
|
||||
title: 5.微信模块
|
||||
description: 微信模块功能
|
||||
published: true
|
||||
date: 2021-09-17T02:46:50.943Z
|
||||
date: 2021-09-30T02:29:48.277Z
|
||||
tags: wg-basic, wecaht
|
||||
editor: markdown
|
||||
dateCreated: 2021-08-26T08:21:24.080Z
|
||||
@ -51,8 +51,9 @@ open-platform:
|
||||
mini-app:
|
||||
# 激活状态
|
||||
active: true
|
||||
api-url: https://api.weixin.qq.com
|
||||
# 认证地址,固定
|
||||
authorizeUrl: https://api.weixin.qq.com/sns/jscode2session
|
||||
authorizeUrl: ${open-platform.wechat.mini-app.api-url}/sns/jscode2session
|
||||
# 认证方式,固定
|
||||
grantType: authorization_code
|
||||
# 小程序的appKey
|
||||
@ -63,18 +64,19 @@ open-platform:
|
||||
official-account:
|
||||
# 激活状态
|
||||
activate: false
|
||||
api-url: https://api.weixin.qq.com
|
||||
# 公众号认证
|
||||
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-refresh-url: https://api.weixin.qq.com/sns/oauth2/refresh_token
|
||||
userinfo-url: https://api.weixin.qq.com/sns/userinfo
|
||||
access-token-url: ${open-platform.wechat.official-account.api-url}/sns/oauth2/access_token
|
||||
access-token-refresh-url: ${open-platform.wechat.official-account.api-url}/sns/oauth2/refresh_token
|
||||
userinfo-url: ${open-platform.wechat.official-account.api-url}/sns/userinfo
|
||||
response-type: code
|
||||
scope: snsapi_userinfo
|
||||
state: wechatRedirectUrl
|
||||
grant-type: authorization_code
|
||||
# token地址
|
||||
access-token-url: https://api.weixin.qq.com/cgi-bin/token
|
||||
access-token-url: ${open-platform.wechat.official-account.api-url}/cgi-bin/token
|
||||
# 公众号appid
|
||||
app-id: 123123123123123
|
||||
# 公众号secret
|
||||
|
Loading…
Reference in New Issue
Block a user