统一分页回传结构体

This commit is contained in:
pixel
2020-04-08 14:31:22 +08:00
parent 4277505c6a
commit 1051db5d4c
8 changed files with 45 additions and 38 deletions
+8
View File
@@ -0,0 +1,8 @@
package response
type PageResult struct {
List interface{} `json:"list"`
Total int `json:"total"`
Page int `json:"page"`
PageSize int `json:"pageSize"`
}