优化
This commit is contained in:
parent
aa3aa3ce62
commit
093864943e
|
@ -152,14 +152,14 @@ type (
|
|||
Currency string `json:"currency"`
|
||||
Country string `json:"country"`
|
||||
UserId int64 `json:"user_id"`
|
||||
OrderSn string `json:"order_sn"`
|
||||
DeliveryMethod int64 `json:"delivery_method"`
|
||||
DeliveryAddress *OrderAddress `json:"delivery_address"`
|
||||
OrderSn string `json:"order_sn"` // 订单编号
|
||||
DeliveryMethod int64 `json:"delivery_method"` // 收货类型
|
||||
DeliveryAddress *OrderAddress `json:"delivery_address"` // 订单收货地址
|
||||
}
|
||||
CreatePrePaymentByDepositRes struct {
|
||||
ErrorCode basic.StatusResponse
|
||||
OrderDetail gmodel.OrderDetail
|
||||
OrderPay OrderPay
|
||||
OrderDetail gmodel.OrderDetail // 订单详情
|
||||
OrderPay OrderPay // 支付详情
|
||||
}
|
||||
/* 预支付--定金 */
|
||||
|
||||
|
@ -173,8 +173,8 @@ type (
|
|||
}
|
||||
CreatePrePaymentByBalanceRes struct {
|
||||
ErrorCode basic.StatusResponse
|
||||
OrderDetail gmodel.OrderDetail
|
||||
OrderPay OrderPay
|
||||
OrderDetail gmodel.OrderDetail // 订单详情
|
||||
OrderPay OrderPay // 支付详情
|
||||
}
|
||||
/* 预支付--尾款 */
|
||||
|
||||
|
@ -186,7 +186,7 @@ type (
|
|||
OriginalCurrency string `json:"original_currency"` // 原始货币
|
||||
UserId int64 `json:"user_id"`
|
||||
CartIds []int64 `json:"cart_ids"`
|
||||
DeliveryMethod int64 `json:"delivery_method"`
|
||||
DeliveryMethod int64 `json:"delivery_method"` // 收货类型
|
||||
DeliveryAddress *OrderAddress `json:"delivery_address"` // 收货地址
|
||||
}
|
||||
CreateRes struct {
|
||||
|
@ -202,18 +202,18 @@ type (
|
|||
}
|
||||
DetailRes struct {
|
||||
ErrorCode basic.StatusResponse
|
||||
OrderDetail gmodel.OrderDetail
|
||||
OrderDetailOriginal OrderDetailOriginal
|
||||
OrderDetail gmodel.OrderDetail // 订单详情
|
||||
OrderDetailOriginal OrderDetailOriginal // 订单详情--原始数据
|
||||
}
|
||||
OrderDetailOriginal struct {
|
||||
Status *gmodel.OrderStatus
|
||||
OrderAmount *gmodel.OrderAmount
|
||||
OrderAddress *gmodel.OrderAddress
|
||||
OrderProduct []gmodel.OrderProductInter
|
||||
ShoppingCartSnapshot []gmodel.FsShoppingCart
|
||||
ShoppingProductSnapshot []gmodel.RelaFsProduct
|
||||
StatusLink []gmodel.OrderStatus
|
||||
PayStatusLink []gmodel.PayStatus
|
||||
Status *gmodel.OrderStatus // 订单状态
|
||||
OrderAmount *gmodel.OrderAmount // 订单金额
|
||||
OrderAddress *gmodel.OrderAddress // 订单收货地址
|
||||
OrderProduct []gmodel.OrderProductInter // 订单商品
|
||||
ShoppingCartSnapshot []gmodel.FsShoppingCart // 订单购物车快照
|
||||
ShoppingProductSnapshot []gmodel.RelaFsProduct // 订单商品快照
|
||||
StatusLink []gmodel.OrderStatus // 订单状态链路
|
||||
PayStatusLink []gmodel.PayStatus // 订单支付状态链路
|
||||
}
|
||||
/* 详情 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user