diff --git a/rule/egg_energy/md/mq_egg_app.go b/rule/egg_energy/md/mq_egg_app.go index 99df052..c55c30a 100644 --- a/rule/egg_energy/md/mq_egg_app.go +++ b/rule/egg_energy/md/mq_egg_app.go @@ -10,7 +10,8 @@ const ( EggRoutKeyForRecordActive = "egg_record_active" // 更新活跃记录 EggRoutKeyForAutoScoreData = "egg_auto_score" // 自动打分 EggRoutKeyForSendFriendCircle = "egg_send_friend_circle" // 发送朋友圈 - EggRoutKeyForComment = "egg_comment" // 发送朋友圈 + EggRoutKeyForComment = "egg_comment" // 评论 + EggRoutKeyForPunishmentRecord = "egg_publish" // 处罚冻结用户上级 ) type EggNewUserRegisterData struct { @@ -79,3 +80,8 @@ type EggSendFriendCircleData struct { type EggCommentData struct { Uid int64 `json:"uid"` } + +type EggRoutKeyForPunishmentRecordData struct { + Uid int64 `json:"uid"` + Amount string `json:"amount"` +}