Compare commits

...

3 Commits

Author SHA1 Message Date
余国健
bf2a135f00 增加两个订单结构体 2024-12-07 00:00:27 +08:00
yuguojian
4ec702af0b 重命名商品库存结构体 2024-12-06 16:50:52 +08:00
yuguojian
bd2af34fb8 重命名订单关闭退款结构体 2024-12-06 16:44:56 +08:00
2 changed files with 10 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ type OrderSent struct {
ID uint `json:"id"` // 订单ID ID uint `json:"id"` // 订单ID
} }
type CloseRefund struct { type OrderCloseRefund struct {
ID uint `json:"id"` // 订单ID ID uint `json:"id"` // 订单ID
} }
@@ -51,3 +51,11 @@ type OrderVoucher struct {
type OrderFinishedAfter struct { type OrderFinishedAfter struct {
ID uint `json:"id"` // 订单ID ID uint `json:"id"` // 订单ID
} }
type OrderUpdateSuccess struct {
ID uint `json:"id"` // 订单ID
}
type ThirdOrderRefund struct {
ID uint `json:"id"` // 订单ID
}

View File

@@ -13,7 +13,7 @@ const (
StockStateDecrease StockState = "reduce_inventory" //减少库存 StockStateDecrease StockState = "reduce_inventory" //减少库存
) )
type ProductsChange struct { type ProductsChangeStock struct {
OrderId uint `json:"order_id"` OrderId uint `json:"order_id"`
State StockState `json:"state"` State StockState `json:"state"`
SkuItems []*SkuItem SkuItems []*SkuItem