request

package
v0.0.0-...-ffc85bd Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Empty

type Empty struct{}

type GetAuthorityId

type GetAuthorityId struct {
	AuthorityId uint `json:"authorityId" form:"authorityId" vd:"$>0"` // 角色ID
}

GetAuthorityId Get role by id structure

type GetById

type GetById struct {
	ID int `json:"id" form:"id" vd:"$>0"` // 主键ID
}

GetById Find by id structure

func (*GetById) Uint

func (r *GetById) Uint() uint

type IdsReq

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

type PageInfo

type PageInfo struct {
	Page     int    `json:"page" form:"page" vd:"$>0"`         // 页码
	PageSize int    `json:"pageSize" form:"pageSize" vd:"$>0"` // 每页大小
	Keyword  string `json:"keyword" form:"keyword"`            // 关键字
}

PageInfo Paging common input parameter structure

Jump to

Keyboard shortcuts

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