request

package
v0.0.0-...-01c5a3f Latest Latest
Warning

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

Go to latest
Published: Feb 26, 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 IdRequest

type IdRequest struct {
	Id int `json:"id" form:"id"` //Id
}

type IdsRequest

type IdsRequest struct {
	Ids []int `json:"ids" form:"ids"` //Id列表
}

type PageInfo

type PageInfo struct {
	Page     int `json:"page" form:"page"`         //页码,不传则默认为1
	PageSize int `json:"pageSize" form:"pageSize"` //页大小,不传则默认为10
}

type SwitchRequest

type SwitchRequest struct {
	IdsRequest
	IsEnable bool `json:"isEnable" form:"isEnable"` //是否启用
}

Jump to

Keyboard shortcuts

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