Compare commits

..

2 Commits

Author SHA1 Message Date
zhongqiang
72127fecd7 add GiveRedPacketTask 2025-05-09 11:51:09 +08:00
lzh
2841d52187 添加生成优惠券消息队列 2025-05-09 10:57:09 +08:00
2 changed files with 10 additions and 0 deletions

5
rabbitmq_coupon.go Normal file
View File

@@ -0,0 +1,5 @@
package common_structure
type CouponCode struct {
ID uint `json:"id"` // 优惠券ID
}

5
rabbitmq_red_packet.go Normal file
View File

@@ -0,0 +1,5 @@
package common_structure
type GiveRedPacketTask struct {
TaskID uint `json:"task_id"` // 任务ID
}