Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
92e71475d3 | ||
![]() |
48b3206053 | ||
![]() |
981dd3b98d | ||
88dd6fbdf5 | |||
![]() |
e0f73fc058 |
@@ -10,6 +10,7 @@ const (
|
|||||||
OrderCloseTypePayTimeout OrderCloseType = 10 // 支付超时
|
OrderCloseTypePayTimeout OrderCloseType = 10 // 支付超时
|
||||||
OrderCloseTypeRefundClose OrderCloseType = 20 // 退款关闭,判断商品是否仅退款
|
OrderCloseTypeRefundClose OrderCloseType = 20 // 退款关闭,判断商品是否仅退款
|
||||||
OrderCloseTypeMerchantClose OrderCloseType = 30 // 商家关闭
|
OrderCloseTypeMerchantClose OrderCloseType = 30 // 商家关闭
|
||||||
|
OrderCloseTypeThirdOrderFailedClose OrderCloseType = 40 // 第三方订单下单失败关闭
|
||||||
)
|
)
|
||||||
|
|
||||||
type OrderClose struct {
|
type OrderClose struct {
|
||||||
@@ -69,3 +70,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
|
||||||
|
}
|
||||||
|
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user