|
|
@ -12,6 +12,7 @@ import (
|
|
|
|
const (
|
|
|
|
const (
|
|
|
|
ReplyOrderFreightFeeErrCodeNone = 0 // 无错误
|
|
|
|
ReplyOrderFreightFeeErrCodeNone = 0 // 无错误
|
|
|
|
ReplyOrderFreightFeeErrCodeErr = 1 // 有错误
|
|
|
|
ReplyOrderFreightFeeErrCodeErr = 1 // 有错误
|
|
|
|
|
|
|
|
ReplyOrderFreightFeeErrCodeDone = 2 // 已下架
|
|
|
|
|
|
|
|
|
|
|
|
OrderStatusLock = 1 // 锁单待确认
|
|
|
|
OrderStatusLock = 1 // 锁单待确认
|
|
|
|
OrderStatusLadingBill = 2 // 提单
|
|
|
|
OrderStatusLadingBill = 2 // 提单
|
|
|
@ -171,6 +172,7 @@ func (o *order) Split(ctx context.Context, channelId string, args ArgsOrderSplit
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type OrderListsSearch struct {
|
|
|
|
type OrderListsSearch struct {
|
|
|
|
|
|
|
|
SkuIds []uint // 商品Ids
|
|
|
|
SkuName string // 商品名称
|
|
|
|
SkuName string // 商品名称
|
|
|
|
Status []uint // 订单状态
|
|
|
|
Status []uint // 订单状态
|
|
|
|
CancelStatus uint // 订单取消状态
|
|
|
|
CancelStatus uint // 订单取消状态
|
|
|
@ -203,6 +205,7 @@ type OrderItem struct {
|
|
|
|
CloseAt int64 `json:"closeAt"`
|
|
|
|
CloseAt int64 `json:"closeAt"`
|
|
|
|
Skus []OrderSku `json:"skus"`
|
|
|
|
Skus []OrderSku `json:"skus"`
|
|
|
|
Packages []OrderPackage `json:"packages"`
|
|
|
|
Packages []OrderPackage `json:"packages"`
|
|
|
|
|
|
|
|
StockOutAt int64 `json:"stockOutAt"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type OrderSku struct {
|
|
|
|
type OrderSku struct {
|
|
|
|