update response page data

This commit is contained in:
kenneth 2023-03-17 22:20:39 +08:00
parent 74a5a8a432
commit 97d8a7b22e

View File

@ -13,10 +13,10 @@ type response struct {
} }
type PageData struct { type PageData struct {
Total int `json:"total"` Total int64 `json:"total"`
PageID int `json:"page_id"` PageID int64 `json:"page_id"`
PageSize int `json:"page_size"` PageSize int64 `json:"page_size"`
Result any `json:"result"` Result any `json:"result"`
} }
func Ok(ctx *gin.Context, data any) { func Ok(ctx *gin.Context, data any) {