Compare commits

...

6 Commits

Author SHA1 Message Date
余国健
de3277c085 更新订单发送结构体 2024-12-07 21:57:37 +08:00
余国健
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
yuguojian
6eb2bb09bf 增加订单完成结构体 2024-12-06 16:42:11 +08:00
yuguojian
301cbac8c1 增加消费奖励结构体 2024-12-06 16:31:51 +08:00
2 changed files with 20 additions and 3 deletions

View File

@@ -14,9 +14,10 @@ type OrderPay struct {
type OrderSent struct {
ID uint `json:"id"` // 订单ID
ProductID uint `json:"product_id"` // 商品ID
}
type CloseRefund struct {
type OrderCloseRefund struct {
ID uint `json:"id"` // 订单ID
}
@@ -43,3 +44,19 @@ type OrderConsumptionAwardRedPacketQualification struct {
type OrderConsumptionAwardRedPacketMoney struct {
ID uint `json:"id"` // 订单ID
}
type OrderVoucher struct {
ID uint `json:"id"` // 订单ID
}
type OrderFinishedAfter struct {
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" //减少库存
)
type ProductsChange struct {
type ProductsChangeStock struct {
OrderId uint `json:"order_id"`
State StockState `json:"state"`
SkuItems []*SkuItem