mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-05-05 18:45:20 +08:00
增加webssh及数据库查询
This commit is contained in:
13
base/model/page.go
Normal file
13
base/model/page.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package model
|
||||
|
||||
// 分页参数
|
||||
type PageParam struct {
|
||||
PageNum int `json:"pageNum"`
|
||||
PageSize int `json:"pageSize"`
|
||||
}
|
||||
|
||||
// 分页结果
|
||||
type PageResult struct {
|
||||
Total int64 `json:"total"`
|
||||
List interface{} `json:"list"`
|
||||
}
|
||||
Reference in New Issue
Block a user