Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
bd2af34fb8 | ||
![]() |
6eb2bb09bf | ||
![]() |
301cbac8c1 | ||
![]() |
49e4a8f520 |
32
order.go
32
order.go
@@ -1,45 +1,53 @@
|
|||||||
package rabbitmq_common_structure
|
package rabbitmq_common_structure
|
||||||
|
|
||||||
type OrderCreate struct {
|
type OrderCreate struct {
|
||||||
ID string `json:"id"` // 订单ID
|
ID uint `json:"id"` // 订单ID
|
||||||
}
|
}
|
||||||
|
|
||||||
type OrderClose struct {
|
type OrderClose struct {
|
||||||
ID string `json:"id"` // 订单ID
|
ID uint `json:"id"` // 订单ID
|
||||||
}
|
}
|
||||||
|
|
||||||
type OrderPay struct {
|
type OrderPay struct {
|
||||||
ID string `json:"id"` // 订单ID
|
ID uint `json:"id"` // 订单ID
|
||||||
}
|
}
|
||||||
|
|
||||||
type OrderSent struct {
|
type OrderSent struct {
|
||||||
ID string `json:"id"` // 订单ID
|
ID uint `json:"id"` // 订单ID
|
||||||
}
|
}
|
||||||
|
|
||||||
type CloseRefund struct {
|
type OrderCloseRefund struct {
|
||||||
ID string `json:"id"` // 订单ID
|
ID uint `json:"id"` // 订单ID
|
||||||
}
|
}
|
||||||
|
|
||||||
type OrderFinished struct {
|
type OrderFinished struct {
|
||||||
ID string `json:"id"` // 订单ID
|
ID uint `json:"id"` // 订单ID
|
||||||
}
|
}
|
||||||
|
|
||||||
type OrderReconciliationPrecheck struct {
|
type OrderReconciliationPrecheck struct {
|
||||||
ID string `json:"id"` // 订单ID
|
ID uint `json:"id"` // 订单ID
|
||||||
}
|
}
|
||||||
|
|
||||||
type OrderReconciliation struct {
|
type OrderReconciliation struct {
|
||||||
ID string `json:"id"` // 订单ID
|
ID uint `json:"id"` // 订单ID
|
||||||
}
|
}
|
||||||
|
|
||||||
type OrderConsumptionAward struct {
|
type OrderConsumptionAward struct {
|
||||||
ID string `json:"id"` // 订单ID
|
ID uint `json:"id"` // 订单ID
|
||||||
}
|
}
|
||||||
|
|
||||||
type OrderConsumptionAwardRedPacketQualification struct {
|
type OrderConsumptionAwardRedPacketQualification struct {
|
||||||
ID string `json:"id"` // 订单ID
|
ID uint `json:"id"` // 订单ID
|
||||||
}
|
}
|
||||||
|
|
||||||
type OrderConsumptionAwardRedPacketMoney struct {
|
type OrderConsumptionAwardRedPacketMoney struct {
|
||||||
ID string `json:"id"` // 订单ID
|
ID uint `json:"id"` // 订单ID
|
||||||
|
}
|
||||||
|
|
||||||
|
type OrderVoucher struct {
|
||||||
|
ID uint `json:"id"` // 订单ID
|
||||||
|
}
|
||||||
|
|
||||||
|
type OrderFinishedAfter struct {
|
||||||
|
ID uint `json:"id"` // 订单ID
|
||||||
}
|
}
|
||||||
|
@@ -14,7 +14,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type ProductsChange struct {
|
type ProductsChange struct {
|
||||||
OrderId int64 `json:"order_id"`
|
OrderId uint `json:"order_id"`
|
||||||
State StockState `json:"state"`
|
State StockState `json:"state"`
|
||||||
SkuItems []*SkuItem
|
SkuItems []*SkuItem
|
||||||
}
|
}
|
||||||
@@ -26,5 +26,5 @@ type SkuItem struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ProductsStockWarn struct {
|
type ProductsStockWarn struct {
|
||||||
ID string `json:"id"` // skuID
|
ID uint `json:"id"` // skuID
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user