mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-01-03 05:06:36 +08:00
refactor: 操作日志信息完善等
This commit is contained in:
@@ -8,11 +8,11 @@ type PageParam struct {
|
||||
|
||||
// 分页结果
|
||||
type PageResult struct {
|
||||
Total int64 `json:"total"`
|
||||
List interface{} `json:"list"`
|
||||
Total int64 `json:"total"`
|
||||
List any `json:"list"`
|
||||
}
|
||||
|
||||
// 空分页结果日志
|
||||
func EmptyPageResult() *PageResult {
|
||||
return &PageResult{Total: 0, List: make([]interface{}, 0)}
|
||||
return &PageResult{Total: 0, List: make([]any, 0)}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user