request

package
v0.0.0-...-88294d8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddMenuAuthorityInfo

type AddMenuAuthorityInfo struct {
	Menus       []model.SysBaseMenu
	AuthorityId string
}

Add menu authority info structure

type CasbinInReceive

type CasbinInReceive struct {
	AuthorityId string       `json:"authorityId"`
	CasbinInfos []CasbinInfo `json:"casbinInfos"`
}

Casbin structure for input parameters

type CasbinInfo

type CasbinInfo struct {
	Path   string `json:"path"`
	Method string `json:"method"`
}

Casbin info structure

type ChangePasswordStruct

type ChangePasswordStruct struct {
	Username    string `json:"username"`
	Password    string `json:"password"`
	NewPassword string `json:"newPassword"`
}

Modify password structure

type ColumnReq

type ColumnReq struct {
	ColumnName    string `json:"columnName" gorm:"column:column_name"`
	DataType      string `json:"dataType" gorm:"column:data_type"`
	DataTypeLong  string `json:"dataTypeLong" gorm:"column:data_type_long"`
	ColumnComment string `json:"columnComment" gorm:"column:column_comment"`
}

type CustomClaims

type CustomClaims struct {
	UUID        uuid.UUID
	ID          uint
	Username    string
	NickName    string
	AuthorityId string
	BufferTime  int64
	jwt.StandardClaims
}

Custom claims structure

type DBReq

type DBReq struct {
	Database string `json:"database" gorm:"column:database"`
}

type Empty

type Empty struct{}

type GetAuthorityId

type GetAuthorityId struct {
	AuthorityId string
}

Get role by id structure

type GetById

type GetById struct {
	Id float64 `json:"id" form:"id"`
}

Find by id structure

type IdsReq

type IdsReq struct {
	Ids []int `json:"ids" form:"ids"`
}

type Login

type Login struct {
	Username  string `json:"username"`
	Password  string `json:"password"`
	Captcha   string `json:"captcha"`
	CaptchaId string `json:"captchaId"`
}

User login structure

type PageInfo

type PageInfo struct {
	Page     int `json:"page" form:"page"`
	PageSize int `json:"pageSize" form:"pageSize"`
}

Paging common input parameter structure

type Register

type Register struct {
	Username    string `json:"userName"`
	Password    string `json:"passWord"`
	NickName    string `json:"nickName" gorm:"default:'QMPlusUser'"`
	HeaderImg   string `json:"headerImg" gorm:"default:'http://www.henrongyi.top/avatar/lufu.jpg'"`
	AuthorityId string `json:"authorityId" gorm:"default:888"`
}

User register structure

type SearchApiParams

type SearchApiParams struct {
	model.SysApi
	PageInfo
	OrderKey string `json:"orderKey"`
	Desc     bool   `json:"desc"`
}

api分页条件查询及排序结构体

type SetUserAuth

type SetUserAuth struct {
	UUID        uuid.UUID `json:"uuid"`
	AuthorityId string    `json:"authorityId"`
}

Modify user's auth structure

type SysDictionaryDetailSearch

type SysDictionaryDetailSearch struct {
	model.SysDictionaryDetail
	PageInfo
}

type SysDictionarySearch

type SysDictionarySearch struct {
	model.SysDictionary
	PageInfo
}

type SysOperationRecordSearch

type SysOperationRecordSearch struct {
	model.SysOperationRecord
	PageInfo
}

type TableReq

type TableReq struct {
	TableName string `json:"tableName"`
}

Jump to

Keyboard shortcuts

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