types

package
v0.0.0-...-294a70e Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseUserInfo

type BaseUserInfo struct {
	Id       string
	NickName string
	Avatar   string
	UserName string
	Sex      string
	Mobile   string
	WeiXin   string
	QQ       string
	EMail    string
	Address  string
	Street   string
	Roles    []string
}

type BaseUserInfoClaims

type BaseUserInfoClaims struct {
	jwt.Claims
	BaseUserInfo
}

type Captcha

type Captcha struct {
	ID          string
	Digits      string
	Base64Image string
}

type MsgContent

type MsgContent struct {
	ChannelId string `json:"channelId"`
	MsgType   string `json:"msgType"`
	Data      string `json:"data"`
}

type WxAuthInfo

type WxAuthInfo struct {
	ID         string    `json:"id"`
	CAK        string    `json:"cak"`
	AppID      string    `json:"appId"`
	OpenID     string    `json:"openId"`
	UnionId    string    `json:"unionId"`
	NickName   string    `json:"nickName"`
	HeadImgUrl string    `json:"headImgUrl"`
	Sex        string    `json:"sex"`
	Country    string    `json:"country"`
	Province   string    `json:"province"`
	City       string    `json:"city"`
	Subscribe  int       `json:"subscribe"`
	CreateTime time.Time `json:"createTime" time_format:"2006-01-02 15:04:05"`
}

type WxAuthInfoClaims

type WxAuthInfoClaims struct {
	jwt.Claims
	WxAuthInfo
}

Jump to

Keyboard shortcuts

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