提交kit/model

Signed-off-by: lixxxww <941403820@qq.com>
This commit is contained in:
lixxxww
2024-01-23 11:41:29 +00:00
committed by Gitee
parent b1cdfd62f6
commit c04f3a37d0
5 changed files with 345 additions and 0 deletions

15
kit/model/page.go Normal file
View 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"`
}