蛋蛋星球-制度模式
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.2 KiB

2 weeks ago
2 weeks ago
2 weeks ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. )
  12. type EggEnergyStructForSignIn struct {
  13. MasterId string `json:"master_id"`
  14. Uid int `json:"uid"`
  15. Id int64 `json:"id"`
  16. EndTime string `json:"end_time"`
  17. }
  18. type UpdateEggEnergyStructForSignInRecords struct {
  19. Id int64 `json:"id"`
  20. Uid int `json:"uid"`
  21. }
  22. type EggEnergyStructForStarLevelDividends struct {
  23. Uid int64 `json:"uid"`
  24. SignDividend float64 `json:"sign_dividend"`
  25. }
  26. type EggEnergyStructForStartExchangeGreenEnergy struct {
  27. Uid int64 `json:"uid"`
  28. Amount string `json:"amount"`
  29. PointCoinId int `json:"point_coin_id"`
  30. EnergyCoinId int `json:"energy_coin_id"`
  31. AutoExchangeNumsAmount string `json:"auto_exchange_nums_amount"`
  32. StartExchangeTime string `json:"start_exchange_time"` //发起兑换时间
  33. EndExchangeTime string `json:"end_exchange_time"` //截止兑换时间
  34. }
  35. type EggEnergyStructForAutoExchangeGreenEnergy struct {
  36. Uid int64 `json:"uid"`
  37. EnergyCoinId int `json:"energy_coin_id"`
  38. AutoExchangeNumsAmount string `json:"auto_exchange_nums_amount"`
  39. StartExchangeTime string `json:"start_exchange_time"` //发起兑换时间
  40. EndExchangeTime string `json:"end_exchange_time"` //截止兑换时间
  41. }