fix
This commit is contained in:
parent
9e4703bd1f
commit
417228ce05
|
@ -46,3 +46,35 @@ type ModifyCartPurchaseQuantityReq{
|
||||||
type GetCartsReq{
|
type GetCartsReq{
|
||||||
Page int `form:"page"` //当前页
|
Page int `form:"page"` //当前页
|
||||||
}
|
}
|
||||||
|
type GetCartsRsp {
|
||||||
|
Meta Meta `json:"meta"` //分页信息
|
||||||
|
CartList []CartItem `json:"cart_list"`
|
||||||
|
}
|
||||||
|
type CartItem{
|
||||||
|
ProductId int64 `json:"product_id"`//产品id
|
||||||
|
SizeInfo SizeInfo `json:"size_info"`//尺寸信息
|
||||||
|
FittingInfo FittingInfo `json:"fitting_info"` //配件信息
|
||||||
|
ItemPrice string `json:"item_price"` //单价
|
||||||
|
TotalPrice string `json:"totalPrice"`//单价X数量=总价
|
||||||
|
DiyInformation DiyInformation `json:"diy_information"` //diy信息
|
||||||
|
StepNum []int64 `json:"step_num"` //阶梯数量
|
||||||
|
}
|
||||||
|
type SizeInfo{
|
||||||
|
SizeId int64 `json:"size_id"` //尺寸id
|
||||||
|
Capacity string `json:"capacity"`//尺寸名称
|
||||||
|
Title SizeTitle `json:"title"`
|
||||||
|
}
|
||||||
|
type FittingInfo{
|
||||||
|
FittingId int64 `json:"fitting_id"`//配件id
|
||||||
|
FittingName string `json:"fitting_name"` //配件名称
|
||||||
|
}
|
||||||
|
type SizeTitle{
|
||||||
|
Cm string `json:"cm"`
|
||||||
|
Inch string `json:"inch"`
|
||||||
|
}
|
||||||
|
type DiyInformation{
|
||||||
|
Phone string `json:"phone"`
|
||||||
|
Address string `json:"address"`
|
||||||
|
Website string `json:"website"`
|
||||||
|
Qrcode string `json:"qrcode"`
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user