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