fix
This commit is contained in:
@@ -36,8 +36,8 @@ type File {
|
||||
|
||||
// 统一分页
|
||||
type Meta struct {
|
||||
TotalCount int64 `json:"totalCount"`
|
||||
PageCount int64 `json:"pageCount"`
|
||||
CurrentPage int `json:"currentPage"`
|
||||
PerPage int `json:"perPage"`
|
||||
TotalCount int64 `json:"total_count"`
|
||||
PageCount int64 `json:"page_count"`
|
||||
CurrentPage int `json:"current_page"`
|
||||
PerPage int `json:"per_page"`
|
||||
}
|
||||
@@ -53,7 +53,7 @@ type ModifyCartPurchaseQuantityReq {
|
||||
}
|
||||
//获取购物车列表
|
||||
type GetCartsReq {
|
||||
Page int `form:"page"` //当前页
|
||||
CurrentPage int `form:"current_page"` //当前页
|
||||
}
|
||||
type GetCartsRsp {
|
||||
Meta Meta `json:"meta"` //分页信息
|
||||
|
||||
Reference in New Issue
Block a user