api

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonPaginationReq

type CommonPaginationReq struct {
	PageNum  int `json:"page_num" in:"query" v:"min:0#分页号码错误"  dc:"分页号码, 默认1"`
	PageSize int `json:"page_size" in:"query" v:"max:500#每页数量最大500条" dc:"分页数量, 最大500"`
}

type CommonPaginationRes

type CommonPaginationRes struct {
	Total    int `json:"total" dc:"总数"`
	PageNum  int `json:"page_num,omitempty" dc:"分页号码"`
	PageSize int `json:"page_size,omitempty" dc:"分页数量"`
}

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

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