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

1 month ago
2 weeks ago
2 weeks ago
1 month ago
3 weeks ago
2 weeks ago
1 month ago
2 weeks ago
1 month ago
2 weeks ago
3 weeks ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. package md
  2. const EggEnergyExchange = "egg.energy"
  3. const (
  4. EggEnergyRoutKeyForStarLevelDividend = "star_level_dividend" // 星级分红
  5. EggEnergyRoutKeyForSettlementPublicGiveActivityCoin = "settlement_public_give_activity_coin" // 计算观看激励视屏得到活跃积分
  6. EggEnergyRoutKeyForStartExchangeGreenEnergy = "start_exchange_egg_energy" // 开始兑换蛋蛋能量
  7. EggEnergyRoutKeyForAutoExchangeGreenEnergy = "auto_exchange_egg_energy" // 自动兑换蛋蛋能量
  8. EggEnergyRoutKeyForEggEnergyFundData = "fund_data" // 资金汇入
  9. EggEnergyRoutKeyForPlatformRevenueData = "platform_revenue_data" // 平台收入
  10. EggEnergyRoutKeyForDealUserVirtualCoinData = "deal_user_virtual_coin" // 处理给用户虚拟币积分
  11. EggEnergyRoutKeyForDealUserEcpm = "user_ecpm" // 处理给用户Ecpm值
  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 EggEnergyStructForAutoExchangeGreenEnergy struct {
  28. Uid int64 `json:"uid"`
  29. SignId int64 `json:"sign_id"`
  30. PersonEggEnergyCoinId int `json:"person_egg_energy_coin_id"`
  31. TeamEggEnergyCoinId int `json:"team_egg_energy_coin_id"`
  32. StartExchangeTime string `json:"start_exchange_time"` //发起兑换时间
  33. EndExchangeTime string `json:"end_exchange_time"` //截止兑换时间
  34. }
  35. type EggEnergyStructForStartExchangeGreenEnergy struct {
  36. Uid int64 `json:"uid"`
  37. SignId int64 `json:"sign_id"`
  38. PersonEggEnergyCoinId int `json:"person_egg_energy_coin_id"`
  39. TeamEggEnergyCoinId int `json:"team_egg_energy_coin_id"`
  40. PersonPointCoinId int `json:"person_point_coin_id"`
  41. PersonEnergyCoinId int `json:"person_energy_coin_id"`
  42. TeamPointCoinId int `json:"team_point_coin_id"`
  43. TeamEnergyCoinId int `json:"team_energy_coin_id"`
  44. }
  45. type EggEnergyStructForPlatformRevenueData struct {
  46. ID int `json:"id"`
  47. Amount string `json:"amount"` // 资金汇入处理金额
  48. }
  49. type EggEnergyStructForEggEnergyFundData struct {
  50. ID int `json:"id"`
  51. Amount string `json:"amount"` // 平台收入处理金额
  52. }
  53. type EggEnergyStructForDealUserVirtualCoinData struct {
  54. Kind string `json:"kind"`
  55. Title string `json:"title"`
  56. TransferType int `json:"transfer_type"`
  57. CoinId int `json:"coin_id"`
  58. Uid int64 `json:"uid"`
  59. Amount float64 `json:"amount"`
  60. }