mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-05-06 12:01:27 +08:00
15
kit/model/page.go
Normal file
15
kit/model/page.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package model
|
||||
|
||||
// 分页参数
|
||||
type PageParam struct {
|
||||
PageNum int `json:"pageNum"`
|
||||
PageSize int `json:"pageSize"`
|
||||
Params string `json:"params"`
|
||||
}
|
||||
|
||||
type ResultPage struct {
|
||||
Total int64 `json:"total"`
|
||||
PageNum int64 `json:"pageNum"`
|
||||
PageSize int64 `json:"pageSize"`
|
||||
Data any `json:"data"`
|
||||
}
|
||||
Reference in New Issue
Block a user