vo

package
v3.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IRequest

type IRequest interface {
	//Validator 校验请求参数
	Validator() (constants.ICodeType, error)
}

IRequest 统一请求接口

type Paginate

type Paginate struct {
	Page     int `json:"page" query:"page" form:"page" path:"page" format:"int"`                 //页码,从1开始
	PageSize int `json:"pageSize" query:"pageSize" form:"pageSize" path:"pageSize" format:"int"` //页面条数
}

Paginate 分页器

Jump to

Keyboard shortcuts

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