vo

package
v0.0.0-...-5b4efa0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthUser

type AuthUser struct {
	Id           int64            `json:"id,omitempty" form:"id"`
	SocialId     string           `json:"socialId,omitempty" form:"socialId"`
	Password     string           `json:"password,omitempty" form:"password"`
	PasswordOld  string           `json:"passwordOld,omitempty" form:"passwordOld"`
	Name         string           `json:"name,omitempty" form:"name"`
	RoleId       int64            `json:"roleId,omitempty" form:"roleId"`
	Email        string           `json:"email,omitempty" form:"email"`
	Introduction string           `json:"introduction,omitempty" form:"introduction"`
	Avatar       string           `json:"avatar,omitempty" form:"avatar"`
	CreateTime   *models.JSONTime `json:"createTime,omitempty" form:"createTime"`
	AccessKey    string           `json:"accessKey,omitempty" form:"accessKey"`
	SecretKey    string           `json:"secretKey,omitempty" form:"secretKey"`
	Status       int              `json:"status,omitempty" form:"status"`
	Roles        []string         `json:"roles,omitempty" form:"roles"`
	Token        string           `json:"token,omitempty" form:"token"`
	VerifyCode   string           `json:"verifyCode,omitempty" form:"verifyCode"`
	*jwt.StandardClaims
	*models.BaseVO
}

func CreateDefaultAuthUser

func CreateDefaultAuthUser() *AuthUser

type AuthUserSocial

type AuthUserSocial struct {
	Id         int64            `json:"id" form:"id"`
	Code       string           `json:"code,omitempty" form:"code"`
	Content    string           `json:"content,omitempty" form:"content"`
	ShowType   int              `json:"showType,omitempty" form:"showType"`
	Remark     string           `json:"remark,omitempty" form:"remark"`
	Icon       string           `json:"icon,omitempty" form:"icon"`
	IsEnabled  int              `json:"isEnabled,omitempty" form:"isEnabled"`
	IsHome     int              `json:"isHome,omitempty" form:"isHome"`
	CreateTime *models.JSONTime `json:"createTime,omitempty" form:"createTime"`
	UpdateTime *models.JSONTime `json:"updateTime,omitempty" form:"updateTime"`
	*models.BaseVO
}

func (AuthUserSocial) TableName

func (t AuthUserSocial) TableName() string

Jump to

Keyboard shortcuts

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