|
|
@ -213,6 +213,7 @@ type OrderItem struct {
|
|
|
|
Skus []OrderSku `json:"skus"`
|
|
|
|
Skus []OrderSku `json:"skus"`
|
|
|
|
Packages []OrderPackage `json:"packages"`
|
|
|
|
Packages []OrderPackage `json:"packages"`
|
|
|
|
StockOutAt int64 `json:"stockOutAt"`
|
|
|
|
StockOutAt int64 `json:"stockOutAt"`
|
|
|
|
|
|
|
|
IsSplit uint `json:"isSplit"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type OrderSku struct {
|
|
|
|
type OrderSku struct {
|
|
|
@ -251,23 +252,41 @@ type ArgsOrderDetail struct {
|
|
|
|
ChannelOrderSn string
|
|
|
|
ChannelOrderSn string
|
|
|
|
}
|
|
|
|
}
|
|
|
|
type ReplyOrderDetail struct {
|
|
|
|
type ReplyOrderDetail struct {
|
|
|
|
ChannelOrderSn string
|
|
|
|
ChannelOrderSn string `json:"channelOrderSn"`
|
|
|
|
OrderSn string
|
|
|
|
OrderSn string `json:"orderSn"`
|
|
|
|
OrderFee decimal.Decimal
|
|
|
|
Status uint `json:"status"`
|
|
|
|
FreightFee decimal.Decimal
|
|
|
|
OrderFee decimal.Decimal `json:"orderFee"`
|
|
|
|
Receiver OrderReceiver
|
|
|
|
FreightFee decimal.Decimal `json:"freightFee"`
|
|
|
|
CreatedAt int64
|
|
|
|
Receiver OrderReceiver `json:"receiver"`
|
|
|
|
LadingBillAt int64
|
|
|
|
CreatedAt int64 `json:"createdAt"`
|
|
|
|
CloseAt int64
|
|
|
|
LadingBillAt int64 `json:"ladingBillAt"`
|
|
|
|
|
|
|
|
CloseAt int64 `json:"closeAt"`
|
|
|
|
|
|
|
|
Skus []OrderDetailSku `json:"skus"`
|
|
|
|
|
|
|
|
OrderSubs []OrderDetailOrderSub `json:"orderSubs"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type OrderReceiver struct {
|
|
|
|
type OrderReceiver struct {
|
|
|
|
ReceiverName string
|
|
|
|
ReceiverName string `json:"receiverName"`
|
|
|
|
ReceiverMobile string
|
|
|
|
ReceiverMobile string `json:"receiverMobile"`
|
|
|
|
ReceiverEmail string
|
|
|
|
ReceiverEmail string `json:"receiverEmail"`
|
|
|
|
ReceiverZipCode string
|
|
|
|
ReceiverZipCode string `json:"receiverZipCode"`
|
|
|
|
Address string
|
|
|
|
Address string `json:"address"`
|
|
|
|
UserIp string
|
|
|
|
UserIp string `json:"userIp"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
type OrderDetailSku struct {
|
|
|
|
|
|
|
|
Id uint `json:"id"`
|
|
|
|
|
|
|
|
Quantity uint `json:"quantity"`
|
|
|
|
|
|
|
|
SkuId uint `json:"skuId"`
|
|
|
|
|
|
|
|
Price decimal.Decimal `json:"price"`
|
|
|
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
|
|
|
ImgUrl string `json:"imgUrl"`
|
|
|
|
|
|
|
|
Size string `json:"size"`
|
|
|
|
|
|
|
|
Color string `json:"color"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type OrderDetailOrderSub struct {
|
|
|
|
|
|
|
|
OrderSn string `json:"orderSn"`
|
|
|
|
|
|
|
|
Children []OrderDetailOrderSub `json:"children"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Detail @Title 订单详情
|
|
|
|
// Detail @Title 订单详情
|
|
|
|