update response page data
This commit is contained in:
parent
74a5a8a432
commit
97d8a7b22e
@ -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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user