wx

package
v0.0.1-202203011220 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WxmpAuth

func WxmpAuth(appId, appSecret, code string) (string, string, error)

WxmpAuth 小程序凭证校验, 返回openid, unionid

func WxmpCreateLimitedWxaCode

func WxmpCreateLimitedWxaCode(appId, appSecret, path string, args ...wxmp.Param) ([]byte, error)

func WxmpCreateUnLimitedWxaCode

func WxmpCreateUnLimitedWxaCode(appId, appSecret, scene, page string, args ...wxmp.Param) ([]byte, error)

func WxmpDecryptMobileInfo

func WxmpDecryptMobileInfo(appId, encryptedData, iv string) (*typwx.WxmpMobileInfo, error)

WxmpDecryptMobileInfo 微信小程序解密手机信息

func WxmpDecryptUserInfo

func WxmpDecryptUserInfo(appId, encryptedData, iv string) (*typwx.WxmpUserInfo, error)

WxmpDecryptUserInfo 微信小程序解密用户信息

func WxoaGetSignature

func WxoaGetSignature(appId, appSecret, url string) (*typwx.WxoaSignature, error)

WxoaGetSignature 微信公众号获取签名

func WxqrGetWxId

func WxqrGetWxId(appId, appSecret, code string) (string, string, error)

WxqrGetWxId 微信二维码扫码登录

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL