zhangqian
2023-08-08 a583fb5fdd2ccdc20e22cebf9428237915645c57
model/response/common.go
@@ -1,15 +1,21 @@
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"`
}
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"`
}