package
0.1.0
Repository: https://github.com/go-baa/common.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AESDecrypt 解密微信加密接口.
GetAccessToken 获取 access_token.
* GetPayOrder 查询订单数据是否已支付 * appID 小程序ID * appSecret 小程序KEY */.
GetUnlimitedWxacode 获取无限制小程序码.
GetUserInfo 获取用户信息.
GetWapAccessToken 获取网页使用的access_token.
NewGreenTextScanner .
* PayOrder 获取统一的订单号 * appID 小程序ID * appSecret 小程序KEY */.
RefreshAccessToken 刷新 access_token.
SnsLogin 获取用户信息.

# Constants

GatewayGetAccessToken ...
GatewayGetUserInfo ...
GatewayRefreshAccessToken ...
GatSnsGetUserInfo ...
GetwapAccessTokenURL 获取网页使用的token路径.
GrantTypeAuthorizationCode ...
No description provided by the author
No description provided by the author
No description provided by the author
WxacodeUnlimitedURL 无限制小程序码请求地址.

# Variables

APIRequestTimeout 请求超时时间.

# Structs

AccessTokenResult ...
ErrorResult 错误结果.
GetPayOrderParam 查询订单的 参数.
GreenScanResponse .
GreenTextScanner .
PayOrderParam 获取同一订单号的参数.
SnsLoginInfo 小程序登录后 信息.
UserInfo 用户信息.
WapAccessTokenResult 返回值.
获取无限制小程序码请求参数.