增加参数兼容
This commit is contained in:
parent
88ff5825ea
commit
e0f73fc058
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user