response

package
v0.0.0-...-38e5134 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package response @program: arco-design-pro-gin @author: [lliuhuan](https://github.com/lliuhuan) @create: 2021-12-10 17:38

Package response @program: arco-design-pro-gin @author: [lliuhuan](https://github.com/lliuhuan) @create: 2022-01-09 21:33

Package response @program: arco-design-pro-gin @author: [lliuhuan](https://github.com/lliuhuan) @create: 2021-12-10 17:55

Package response @program: arco-design-pro-gin @author: [lliuhuan](https://github.com/lliuhuan) @create: 2021-12-10 13:59

Package response @program: arco-design-pro-gin @author: [lliuhuan](https://github.com/lliuhuan) @create: 2021-12-13 12:45

Package response @program: arco-design-pro-gin @author: [lliuhuan](https://github.com/lliuhuan) @create: 2021-12-10 17:38

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseClaims

type BaseClaims struct {
	UUID        uuid.UUID
	ID          uint
	Username    string
	NickName    string
	AuthorityId string
}

type LoginResponse

type LoginResponse struct {
	User      system.SysUser `json:"user"`
	Token     string         `json:"token"`
	ExpiresAt int64          `json:"expiresAt"`
}

type PolicyPathResponse

type PolicyPathResponse struct {
	Paths []request.CasbinInfo `json:"paths"`
}

type SysAPIListResponse

type SysAPIListResponse struct {
	Apis []system.SysApi `json:"apis"`
}

type SysAPIResponse

type SysAPIResponse struct {
	Api system.SysApi `json:"api"`
}

type SysAuthorityCopyResponse

type SysAuthorityCopyResponse struct {
	Authority      system.SysAuthority `json:"authority"`
	OldAuthorityId string              `json:"oldAuthorityId"` // 旧角色ID
}

type SysAuthorityResponse

type SysAuthorityResponse struct {
	Authority system.SysAuthority `json:"authority"`
}

type SysBaseMenuDelete

type SysBaseMenuDelete struct {
	Success int `json:"success"`
	Error   int `json:"error"`
}

type SysBaseMenuResponse

type SysBaseMenuResponse struct {
	Menu system.SysBaseMenu `json:"menu"`
}

type SysBaseMenusResponse

type SysBaseMenusResponse struct {
	Menus []system.SysBaseMenu `json:"menus"`
}

type SysCaptchaResponse

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

type SysMenuTreeResponse

type SysMenuTreeResponse struct {
	ID       uint                  `json:"key" gorm:"primarykey"`         // 主键ID
	Name     string                `json:"title" gorm:"comment:路由name"`   // 路由name
	ParentId string                `json:"parentId" gorm:"comment:父菜单ID"` // 父菜单ID
	Children []SysMenuTreeResponse `json:"children" gorm:"-"`
}

type SysMenusResponse

type SysMenusResponse struct {
	Menus []system.SysMenu `json:"menus"`
}

type SysUserResponse

type SysUserResponse struct {
	User system.SysUser `json:"user"`
}

Jump to

Keyboard shortcuts

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