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

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