|
|
|
@ -47,12 +47,13 @@ type SkuOrderItem struct {
|
|
|
|
|
Quantity uint // 数量
|
|
|
|
|
}
|
|
|
|
|
type ArgsOrderSubmit struct {
|
|
|
|
|
Address string // 地址
|
|
|
|
|
Skus []SkuOrderItem // sku信息
|
|
|
|
|
Receiver Receiver // 收件信息
|
|
|
|
|
OrderFee decimal.Decimal // 订单金额-不含运费
|
|
|
|
|
FreightFees []OrderFreightFee // 运费
|
|
|
|
|
UserIp string // 下单用户ip
|
|
|
|
|
ChannelOrderSn string // 渠道订单编号
|
|
|
|
|
Address string // 地址
|
|
|
|
|
Skus []SkuOrderItem // sku信息
|
|
|
|
|
Receiver Receiver // 收件信息
|
|
|
|
|
OrderFee decimal.Decimal // 订单金额-不含运费
|
|
|
|
|
FreightFees []OrderFreightFee // 运费
|
|
|
|
|
UserIp string // 下单用户ip
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type OrderFreightFee struct {
|
|
|
|
@ -68,6 +69,8 @@ type Receiver struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ReplyOrderSubmit struct {
|
|
|
|
|
OrderSn string
|
|
|
|
|
ChannelOrderSn string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Submit @Title 下单
|
|
|
|
|