From af11a5e94a688bc25c20374280492fdfcdd887f1 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Thu, 12 Dec 2024 18:09:29 +0800 Subject: [PATCH] update --- rule/egg_energy/md/mq_egg_app.go | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/rule/egg_energy/md/mq_egg_app.go b/rule/egg_energy/md/mq_egg_app.go index 8b81524..ccaad06 100644 --- a/rule/egg_energy/md/mq_egg_app.go +++ b/rule/egg_energy/md/mq_egg_app.go @@ -3,10 +3,11 @@ package md const EggAppExchange = "egg.app" const ( - EggNewUserRegister = "egg_new_user_register" // 新用户注册 - EggFinWithdrawApply = "egg_fin_withdraw_apply" // 提现申请 - EggFinWithdrawApplyError = "egg_fin_deposit_apply_error" // 提现申请异常队列 - EggRoutKeyForRecordActive = "egg_record_active" // 更新活跃记录 + EggNewUserRegister = "egg_new_user_register" // 新用户注册 + EggFinWithdrawApply = "egg_fin_withdraw_apply" // 提现申请 + EggFinWithdrawApplyError = "egg_fin_deposit_apply_error" // 提现申请异常队列 + EggRoutKeyForRecordActive = "egg_record_active" // 更新活跃记录 + EggRoutKeyForAutoScoreData = "egg_auto_score" // 自动打分 ) type EggNewUserRegisterData struct { @@ -43,3 +44,21 @@ type EggStructForRecordActiveData struct { Uid int64 `json:"uid"` TotalPersonEggPoints string `json:"total_person_egg_points"` // 个人活跃积分 } + +type EggStructForAutoScoreData struct { + DocId string `json:"doc_id"` // 文档 id + Ecpm float64 `json:"ecpm"` + InviteUserNums int `json:"invite_user_nums"` + TeamActivityNums int `json:"team_activity_nums"` + SignInNums int `json:"sign_in_nums"` + ImActivityNums int `json:"im_activity_nums"` + SendRedPackageNums int `json:"send_red_package_nums"` + EggEnergyExchangeAccountBalance int `json:"egg_energy_exchange_account_balance"` + AccountBalanceExchangeEggEnergyNums int `json:"account_balance_exchange_egg_energy_nums"` + SendCircleOfFriendNums int `json:"send_circle_of_friend_nums"` + ForumCommentsNums int `json:"forum_comments_nums"` + CollegeLearningNums int `json:"college_learning_nums"` + ViolateNums int `json:"violate_nums"` + BrowseInterfaceNums int `json:"browse_interface_nums"` + PersonAddActivityValue int `json:"person_add_activity_value"` +}