wx

package
v1.0.37 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 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, width int, args ...wxmp.Param) ([]byte, error)

func WxmpCreateUnLimitedWxaCode

func WxmpCreateUnLimitedWxaCode(appId, appSecret, scene, page string, width int, 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 WxmpGetAccessToken

func WxmpGetAccessToken(appId, appSecret string) (string, error)

func WxmpGetUserPhoneNumber

func WxmpGetUserPhoneNumber(appId, appSecret, code string) (*typwx.WxmpMobileInfo, error)

WxmpGetUserPhoneNumber 新版获取用户手机号码

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