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