wx

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client *wechat.Client

Functions

func Route

func Route(root iris.Party)

Types

type BindPhoneReq added in v0.1.1

type BindPhoneReq struct {
	Code    string `json:"code,omitempty"`
	UnionId string `json:"unionId,omitempty"`
}

type ProfileFetchResp added in v0.1.2

type ProfileFetchResp struct {
	app.Response
	UserCode string `json:"userCode,omitempty"`
}

type Req

type Req struct {
	Code string `json:"code,omitempty"`
}

type Resp

type Resp struct {
	app.Response     // basic
	wechat.JsSession // wx session
	UserToken        // 用户信息
}

type UserToken added in v0.1.2

type UserToken struct {
	Uid   string `json:"uid,omitempty"`
	Token string `json:"token,omitempty"`
}

Jump to

Keyboard shortcuts

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