Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
de3277c085 | ||
![]() |
bf2a135f00 | ||
![]() |
4ec702af0b |
9
order.go
9
order.go
@@ -14,6 +14,7 @@ type OrderPay struct {
|
||||
|
||||
type OrderSent struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
ProductID uint `json:"product_id"` // 商品ID
|
||||
}
|
||||
|
||||
type OrderCloseRefund struct {
|
||||
@@ -51,3 +52,11 @@ type OrderVoucher struct {
|
||||
type OrderFinishedAfter struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
}
|
||||
|
||||
type OrderUpdateSuccess struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
}
|
||||
|
||||
type ThirdOrderRefund struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
}
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user