Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
88dd6fbdf5 | |||
![]() |
e0f73fc058 |
@@ -69,3 +69,8 @@ type OrderUpdateSuccess struct {
|
||||
type ThirdOrderRefund struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
}
|
||||
|
||||
type RedPacketRefund struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
OrderProductsID uint `json:"order_products_id"` // 订单商品ID
|
||||
}
|
||||
|
@@ -31,8 +31,10 @@ const (
|
||||
type ProductsChangeStock struct {
|
||||
OrderId uint `json:"order_id"`
|
||||
State StockState `json:"state"`
|
||||
SkuItems []*SkuItem `json:"sku_items"`
|
||||
DecreaseChangeStockType ProductsChangeStockType `json:"decrease_change_stock_type"`
|
||||
OrderProductsIDs []uint `json:"order_products_ids"` // 对应的订单商品ID集合加减库存,如果为0,整个订单商品加减库存
|
||||
|
||||
SkuItems []*SkuItem `json:"sku_items"` // 商家修改商品数量使用,旧逻辑兼容
|
||||
}
|
||||
|
||||
type SkuItem struct {
|
||||
|
Reference in New Issue
Block a user