From 2a9ef589650012b640ed87093436b9a7d53e40da Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Thu, 14 Nov 2024 16:01:26 +0800 Subject: [PATCH] ad rabbit mq key --- rule/egg_energy/md/mq.go | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/rule/egg_energy/md/mq.go b/rule/egg_energy/md/mq.go index 9e28583..2c11772 100644 --- a/rule/egg_energy/md/mq.go +++ b/rule/egg_energy/md/mq.go @@ -10,7 +10,7 @@ const ( EggEnergyRoutKeyForStartExchangeGreenEnergyToTeam = "start_exchange_egg_energy_to_team" // 开始兑换团队蛋蛋能量 EggEnergyRoutKeyForAutoExchangeGreenEnergyToTeam = "auto_exchange_egg_energy_to_team" // 自动兑换团队蛋蛋能量 EggEnergyRoutKeyForEggEnergyFundData = "fund_data" // 资金汇入 - + EggEnergyRoutKeyForPlatformRevenueData = "platform_revenue_data" // 平台收入 ) type EggEnergyStructForSignIn struct { @@ -46,3 +46,13 @@ type EggEnergyStructForAutoExchangeGreenEnergy struct { StartExchangeTime string `json:"start_exchange_time"` //发起兑换时间 EndExchangeTime string `json:"end_exchange_time"` //截止兑换时间 } + +type EggEnergyStructForPlatformRevenueData struct { + ID int `json:"id"` + Amount string `json:"amount"` // 资金汇入处理金额 +} + +type EggEnergyStructForEggEnergyFundData struct { + ID int `json:"id"` + Amount string `json:"amount"` // 平台收入处理金额 +}