refactor: 操作日志信息完善等

This commit is contained in:
meilin.huang
2022-11-18 17:52:30 +08:00
parent debc34f0fb
commit 480e930385
81 changed files with 509 additions and 2404 deletions

View File

@@ -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)}
}