request

package
v0.0.0-...-f53b5d5 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 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 CRUDCondition

type CRUDCondition struct {
	Column string `json:"c"`
	Type   uint8  `json:"t"` // TODO 是否只在后台定义搜索类型,前端不需要这个字段?
	Value  string `json:"v"`
}

type CRUDRequest

type CRUDRequest struct {
	Query    []CRUDCondition `json:"query,omitempty"`
	Sort     string          `json:"sort,omitempty"`
	Page     int             `json:"page,omitempty"`
	PageSize int             `json:"pageSize,omitempty"`
	Id       string          `json:"id,omitempty"`
	Ids      []string        `json:"ids,omitempty"`
}

type PageInfo

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

Jump to

Keyboard shortcuts

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