feat: update

This commit is contained in:
2025-12-16 15:43:28 +08:00
parent 2974ba1c2c
commit 0531a72ae6
11 changed files with 217 additions and 11 deletions

View File

@@ -2,10 +2,10 @@ package requests
import "github.com/samber/lo"
type Pager[T any] struct {
type Pager struct {
Pagination ` json:",inline"`
Total int64 `json:"total"`
Items []T `json:"items"`
Items any `json:"items"`
}
type Pagination struct {