增加日志,修改命名
This commit is contained in:
71
rabbitmq_order.go
Normal file
71
rabbitmq_order.go
Normal file
@@ -0,0 +1,71 @@
|
||||
package common_structure
|
||||
|
||||
type OrderCreate struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
}
|
||||
|
||||
type OrderCloseType = int
|
||||
|
||||
const (
|
||||
OrderCloseTypePayTimeout OrderCloseType = 10 // 支付超时
|
||||
OrderCloseTypeRefundClose OrderCloseType = 20 // 退款关闭,判断商品是否仅退款
|
||||
OrderCloseTypeMerchantClose OrderCloseType = 30 // 商家关闭
|
||||
)
|
||||
|
||||
type OrderClose struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
CloseType OrderCloseType `json:"close_type"` // 关闭类型
|
||||
}
|
||||
|
||||
type OrderPay struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
}
|
||||
|
||||
type OrderSent struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
OrderProductsID uint `json:"order_products_id"` // 订单商品ID
|
||||
}
|
||||
|
||||
type OrderCloseRefund struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
}
|
||||
|
||||
type OrderFinished struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
}
|
||||
|
||||
type OrderReconciliationPrecheck struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
}
|
||||
|
||||
type OrderReconciliation struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
}
|
||||
|
||||
type OrderConsumptionAward struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
}
|
||||
|
||||
type OrderConsumptionAwardRedPacketQualification struct {
|
||||
ID uint `json:"id"` // 订单ID
|
||||
}
|
||||
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user