Compare commits

..

3 Commits

Author SHA1 Message Date
吕翠丽
981dd3b98d 增加发货超时取消订单结构体 2024-12-26 16:19:05 +08:00
88dd6fbdf5 增加红包回退结构体 2024-12-17 15:16:52 +08:00
yuguojian
e0f73fc058 增加参数兼容 2024-12-12 14:59:13 +08:00
2 changed files with 12 additions and 1 deletions

View File

@@ -69,3 +69,12 @@ type OrderUpdateSuccess struct {
type ThirdOrderRefund struct { type ThirdOrderRefund struct {
ID uint `json:"id"` // 订单ID ID uint `json:"id"` // 订单ID
} }
type RedPacketRefund struct {
ID uint `json:"id"` // 订单ID
OrderProductsID uint `json:"order_products_id"` // 订单商品ID
}
type OrderSentOvertime struct {
ID uint `json:"id"` // 订单ID
}

View File

@@ -31,8 +31,10 @@ const (
type ProductsChangeStock struct { type ProductsChangeStock struct {
OrderId uint `json:"order_id"` OrderId uint `json:"order_id"`
State StockState `json:"state"` State StockState `json:"state"`
SkuItems []*SkuItem `json:"sku_items"`
DecreaseChangeStockType ProductsChangeStockType `json:"decrease_change_stock_type"` DecreaseChangeStockType ProductsChangeStockType `json:"decrease_change_stock_type"`
OrderProductsIDs []uint `json:"order_products_ids"` // 对应的订单商品ID集合加减库存如果为0整个订单商品加减库存
SkuItems []*SkuItem `json:"sku_items"` // 商家修改商品数量使用,旧逻辑兼容
} }
type SkuItem struct { type SkuItem struct {