wechat

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WxAuthCode2Session

type WxAuthCode2Session struct {
	Openid     string `json:"openid"`      //用户唯一标识
	SessionKey string `json:"session_key"` //会话密钥
	Uinionid   string `json:"uinionid"`    //用户在开放平台的唯一标识符,在满足 UnionID 下发条件的情况下会返回,详见 UnionID 机制说明。
	Errcode    int32  `json:"errcode"`     //错误码
	ErrMsg     string `json:"errmsg"`      //错误信息
}

func WeChatLogin

func WeChatLogin(wxAppId, wxAppSecret, jsCode string) (wxToken *WxAuthCode2Session, err error)

Jump to

Keyboard shortcuts

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