This commit is contained in:
孟帅
2023-05-10 23:54:50 +08:00
parent bbe655a4d8
commit 49a96750bf
314 changed files with 15138 additions and 6244 deletions

View File

@@ -0,0 +1,13 @@
package consts
// 授权类型
const (
WechatAuthorizeOpenId = "openId" // 设置openid
WechatAuthorizeBindLogin = "bindLogin" // 绑定微信登录
)
// 应用授权作用域
const (
WechatScopeBase = "snsapi_base" // 只获取openid无需用户授权
WechatScopeUserinfo = "snsapi_userinfo" // 获取用户信息,需要授权
)