Compare commits

...

4 Commits

Author SHA1 Message Date
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
yuguojian
49e4a8f520 修改id数据类型 2024-12-06 16:25:33 +08:00
2 changed files with 22 additions and 14 deletions

View File

@@ -1,45 +1,53 @@
package rabbitmq_common_structure
type OrderCreate struct {
ID string `json:"id"` // 订单ID
ID uint `json:"id"` // 订单ID
}
type OrderClose struct {
ID string `json:"id"` // 订单ID
ID uint `json:"id"` // 订单ID
}
type OrderPay struct {
ID string `json:"id"` // 订单ID
ID uint `json:"id"` // 订单ID
}
type OrderSent struct {
ID string `json:"id"` // 订单ID
ID uint `json:"id"` // 订单ID
}
type CloseRefund struct {
ID string `json:"id"` // 订单ID
type OrderCloseRefund struct {
ID uint `json:"id"` // 订单ID
}
type OrderFinished struct {
ID string `json:"id"` // 订单ID
ID uint `json:"id"` // 订单ID
}
type OrderReconciliationPrecheck struct {
ID string `json:"id"` // 订单ID
ID uint `json:"id"` // 订单ID
}
type OrderReconciliation struct {
ID string `json:"id"` // 订单ID
ID uint `json:"id"` // 订单ID
}
type OrderConsumptionAward struct {
ID string `json:"id"` // 订单ID
ID uint `json:"id"` // 订单ID
}
type OrderConsumptionAwardRedPacketQualification struct {
ID string `json:"id"` // 订单ID
ID uint `json:"id"` // 订单ID
}
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
}

View File

@@ -14,7 +14,7 @@ const (
)
type ProductsChange struct {
OrderId int64 `json:"order_id"`
OrderId uint `json:"order_id"`
State StockState `json:"state"`
SkuItems []*SkuItem
}
@@ -26,5 +26,5 @@ type SkuItem struct {
}
type ProductsStockWarn struct {
ID string `json:"id"` // skuID
ID uint `json:"id"` // skuID
}