diff --git a/rule/egg_energy/md/mq_egg_canel.go b/rule/egg_energy/md/mq_egg_canel.go new file mode 100644 index 0000000..93e3794 --- /dev/null +++ b/rule/egg_energy/md/mq_egg_canel.go @@ -0,0 +1,7 @@ +package md + +const EggCanalExchange = "egg.canal.topic" + +const ( + EggCanalRoutKeyForInviteUserNums = "egg_canal_invite_user_nums" // 拉新人数 +) diff --git a/rule/egg_energy/md/mq_im.go b/rule/egg_energy/md/mq_im.go index de06bf5..f45ba4c 100644 --- a/rule/egg_energy/md/mq_im.go +++ b/rule/egg_energy/md/mq_im.go @@ -5,6 +5,7 @@ const IMEggEnergyExchange = "im.egg.energy" const ( IMEggEnergyRoutKeyForBatchSendMessageData = "batch_send_message_data" // 批量发送信息 IMEggEnergyRoutKeyForDelFriendCircleCommentData = "del_friend_circle_comment_data" // 删除朋友圈评论 + IMEggEnergyRoutKeyForSendRedPackage = "send_red_package" // 发红包 ) type IMEggEnergyStructForBatchSendMessageData struct { @@ -18,3 +19,7 @@ type IMEggEnergyStructForBatchSendMessageData struct { type IMEggEnergyStructForDelFriendCircleCommentData struct { CommentIndexId string `json:"comment_index_id"` // 文章索引 } + +type IMEggEnergyStructForSendRedPackageData struct { + Uid int64 `json:"uid"` +}