蛋蛋星球-制度模式
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mq.go 2.5 KiB

2 weeks ago
2 weeks ago
2 weeks ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. package md
  2. const EggEnergyExchange = "egg.energy"
  3. const (
  4. EggEnergyRoutKeyForStarLevelDividend = "star_level_dividend" // 星级分红
  5. EggEnergyRoutKeyForSettlementPublicGiveActivityCoin = "settlement_public_give_activity_coin" // 计算观看激励视屏得到活跃积分
  6. EggEnergyRoutKeyForStartExchangeGreenEnergyToPerson = "start_exchange_egg_energy_to_person" // 开始兑换个人蛋蛋能量
  7. EggEnergyRoutKeyForAutoExchangeGreenEnergyToPerson = "auto_exchange_egg_energy_to_person" // 自动兑换个人蛋蛋能量
  8. EggEnergyRoutKeyForStartExchangeGreenEnergyToTeam = "start_exchange_egg_energy_to_team" // 开始兑换团队蛋蛋能量
  9. EggEnergyRoutKeyForAutoExchangeGreenEnergyToTeam = "auto_exchange_egg_energy_to_team" // 自动兑换团队蛋蛋能量
  10. EggEnergyRoutKeyForEggEnergyFundData = "fund_data" // 资金汇入
  11. EggEnergyRoutKeyForPlatformRevenueData = "platform_revenue_data" // 平台收入
  12. )
  13. type EggEnergyStructForSignIn struct {
  14. MasterId string `json:"master_id"`
  15. Uid int `json:"uid"`
  16. Id int64 `json:"id"`
  17. EndTime string `json:"end_time"`
  18. }
  19. type UpdateEggEnergyStructForSignInRecords struct {
  20. Id int64 `json:"id"`
  21. Uid int `json:"uid"`
  22. }
  23. type EggEnergyStructForStarLevelDividends struct {
  24. Uid int64 `json:"uid"`
  25. SignDividend float64 `json:"sign_dividend"`
  26. }
  27. type EggEnergyStructForStartExchangeGreenEnergy struct {
  28. Uid int64 `json:"uid"`
  29. Amount string `json:"amount"`
  30. PointCoinId int `json:"point_coin_id"`
  31. EnergyCoinId int `json:"energy_coin_id"`
  32. AutoExchangeNumsAmount string `json:"auto_exchange_nums_amount"`
  33. StartExchangeTime string `json:"start_exchange_time"` //发起兑换时间
  34. EndExchangeTime string `json:"end_exchange_time"` //截止兑换时间
  35. }
  36. type EggEnergyStructForAutoExchangeGreenEnergy struct {
  37. Uid int64 `json:"uid"`
  38. EnergyCoinId int `json:"energy_coin_id"`
  39. AutoExchangeNumsAmount string `json:"auto_exchange_nums_amount"`
  40. StartExchangeTime string `json:"start_exchange_time"` //发起兑换时间
  41. EndExchangeTime string `json:"end_exchange_time"` //截止兑换时间
  42. }
  43. type EggEnergyStructForPlatformRevenueData struct {
  44. ID int `json:"id"`
  45. Amount string `json:"amount"` // 资金汇入处理金额
  46. }
  47. type EggEnergyStructForEggEnergyFundData struct {
  48. ID int `json:"id"`
  49. Amount string `json:"amount"` // 平台收入处理金额
  50. }