Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BaseClient *kernel.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)
func (*Client) CheckEncryptedData ¶
func (comp *Client) CheckEncryptedData(ctx context.Context, encryptedMsgHash string) (*response.ResponseAuthCheckEncryptedData, error)
检查加密信息是否由微信生成(当前只支持手机号加密数据),只能检测最近3天生成的加密数据 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/user-info/auth.checkEncryptedData.html
func (*Client) GetPaidUnionID ¶
func (comp *Client) GetPaidUnionID(ctx context.Context, data *request.RequestGetPaidUnionID) (*response.ResponseAuthGetPaidUnionID, error)
Click to show internal directories.
Click to hide internal directories.