model/response/common.go
@@ -1,8 +1,15 @@ package response type PageResult struct { List interface{} `json:"list"` Total int64 `json:"total"` Page int `json:"page"` PageSize int `json:"pageSize"` } package response type PageResult struct { List interface{} `json:"list"` Total int64 `json:"total"` Page int `json:"page"` PageSize int `json:"pageSize"` } type ListResponse struct { Code int `json:"code"` Msg string `json:"msg"` Data interface{} `json:"data"` Count int64 `json:"count"` }