common

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PageRequest

type PageRequest struct {
	PageSize   int // 查询数量
	PageNumber int // 查询页码
	TotalPage  int // 总页数
}

PageRequest 分页查询

type SimplePageRequest

type SimplePageRequest struct {
	From int `json:"from,omitempty"` // 查询开始的ID
	Size int `json:"size,omitempty"` // 查询数量
}

SimplePageRequest 简单分页请求

Jump to

Keyboard shortcuts

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