|
|
|
@ -213,6 +213,7 @@ type OrderItem struct {
|
|
|
|
|
Skus []OrderSku `json:"skus"`
|
|
|
|
|
Packages []OrderPackage `json:"packages"`
|
|
|
|
|
StockOutAt int64 `json:"stockOutAt"`
|
|
|
|
|
IsSplit uint `json:"isSplit"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type OrderSku struct {
|
|
|
|
@ -251,23 +252,41 @@ type ArgsOrderDetail struct {
|
|
|
|
|
ChannelOrderSn string
|
|
|
|
|
}
|
|
|
|
|
type ReplyOrderDetail struct {
|
|
|
|
|
ChannelOrderSn string
|
|
|
|
|
OrderSn string
|
|
|
|
|
OrderFee decimal.Decimal
|
|
|
|
|
FreightFee decimal.Decimal
|
|
|
|
|
Receiver OrderReceiver
|
|
|
|
|
CreatedAt int64
|
|
|
|
|
LadingBillAt int64
|
|
|
|
|
CloseAt int64
|
|
|
|
|
ChannelOrderSn string `json:"channelOrderSn"`
|
|
|
|
|
OrderSn string `json:"orderSn"`
|
|
|
|
|
Status uint `json:"status"`
|
|
|
|
|
OrderFee decimal.Decimal `json:"orderFee"`
|
|
|
|
|
FreightFee decimal.Decimal `json:"freightFee"`
|
|
|
|
|
Receiver OrderReceiver `json:"receiver"`
|
|
|
|
|
CreatedAt int64 `json:"createdAt"`
|
|
|
|
|
LadingBillAt int64 `json:"ladingBillAt"`
|
|
|
|
|
CloseAt int64 `json:"closeAt"`
|
|
|
|
|
Skus []OrderDetailSku `json:"skus"`
|
|
|
|
|
OrderSubs []OrderDetailOrderSub `json:"orderSubs"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type OrderReceiver struct {
|
|
|
|
|
ReceiverName string
|
|
|
|
|
ReceiverMobile string
|
|
|
|
|
ReceiverEmail string
|
|
|
|
|
ReceiverZipCode string
|
|
|
|
|
Address string
|
|
|
|
|
UserIp string
|
|
|
|
|
ReceiverName string `json:"receiverName"`
|
|
|
|
|
ReceiverMobile string `json:"receiverMobile"`
|
|
|
|
|
ReceiverEmail string `json:"receiverEmail"`
|
|
|
|
|
ReceiverZipCode string `json:"receiverZipCode"`
|
|
|
|
|
Address string `json:"address"`
|
|
|
|
|
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 订单详情
|
|
|
|
|