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"` } type Response struct { Code int `json:"code"` Msg string `json:"msg"` Data interface{} `json:"data"` }