response

package
v0.0.0-...-b35005d Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiTree

type ApiTree struct {
	List       interface{} `json:"list"`
	CheckedKey []string    `json:"checkedKey"`
}

type LoginResponse

type LoginResponse struct {
	User      system.UserModel `json:"user"`
	Token     string           `json:"token"`
	ExpiresAt int64            `json:"expiresAt"`
}
type Menu struct {
	List    interface{} `json:"list"`
	MenuIds []uint      `json:"menuIds"`
}

type SysCaptchaResponse

type SysCaptchaResponse struct {
	CaptchaId     string `json:"captchaId"`
	PicPath       string `json:"picPath"`
	CaptchaLength int    `json:"captchaLength"`
}

type UserResult

type UserResult struct {
	CreatedAt   time.Time `json:"createdAt"`
	ID          uint
	Username    string `json:"username"` // 用户名
	Phone       string `json:"phone"`    // 手机号
	Email       string `json:"email"`    // 邮箱
	Active      bool   `json:"active"`   // 是否活跃
	RoleModelID uint   `json:"roleId"`   // 角色ID
	RoleName    string `json:"role"`     // 角色名
}

Jump to

Keyboard shortcuts

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