wechat

package
v0.0.0-...-e505ea4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package wechat @Description TODO @Author jiangyang @Created 2021/10/16 6:16 下午

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsCode2sessionResp

type JsCode2sessionResp struct {
	Openid     string `json:"openid"`
	SessionKey string `json:"session_key"`
	UnionID    string `json:"unionid"`
	ErrCode    int    `json:"errcode"`
	ErrorMsg   string `json:"errormsg"`
}

type Mini

type Mini struct {
	// contains filtered or unexported fields
}

func NewMini

func NewMini(appid, secret string) *Mini

func (*Mini) JsCode2session

func (m *Mini) JsCode2session(code string) (*JsCode2sessionResp, error)

Jump to

Keyboard shortcuts

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