Skip to content

Commit

Permalink
page 结构体增加json tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mztlive committed Sep 19, 2023
1 parent 160903e commit 404dda3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions structure/page.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ package structure
// Paginator 分页参数
type Paginator struct {
//页码
Page int64
Page int64 `json:"page"`

//每页数量
PageSize int64
PageSize int64 `json:"page_size"`
}

// Offset 返回数据未知偏移
Expand Down

0 comments on commit 404dda3

Please sign in to comment.