Browse Source

update

master
shenjiachi 3 weeks ago
parent
commit
64c8aa0b48
2 changed files with 12 additions and 0 deletions
  1. +7
    -0
      rule/egg_energy/md/mq_egg_canel.go
  2. +5
    -0
      rule/egg_energy/md/mq_im.go

+ 7
- 0
rule/egg_energy/md/mq_egg_canel.go View File

@@ -0,0 +1,7 @@
package md

const EggCanalExchange = "egg.canal.topic"

const (
EggCanalRoutKeyForInviteUserNums = "egg_canal_invite_user_nums" // 拉新人数
)

+ 5
- 0
rule/egg_energy/md/mq_im.go View File

@@ -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"`
}

Loading…
Cancel
Save