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

78 lines
3.2 KiB

  1. package md
  2. const EggEnergyExchange = "egg.energy"
  3. const (
  4. EggEnergyRoutKeyForStarLevelDividend = "star_level_dividend" // 星级分红
  5. EggEnergyRoutKeyForSettlementPublicGiveActivityCoin = "settlement_public_give_activity_coin" // 计算观看激励视屏得到活跃积分
  6. EggEnergyTeamAssistance = "egg_energy_team_assistance" // 团队助力
  7. EggEnergyRoutKeyForStartExchangeGreenEnergy = "start_exchange_egg_energy" // 开始兑换蛋蛋能量
  8. EggEnergyRoutKeyForAutoExchangeGreenEnergy = "auto_exchange_egg_energy" // 自动兑换蛋蛋能量
  9. EggEnergyRoutKeyForEggEnergyFundData = "fund_data" // 资金汇入
  10. EggEnergyRoutKeyForPlatformRevenueData = "platform_revenue_data" // 平台收入
  11. EggEnergyRoutKeyForDealUserVirtualCoinData = "deal_user_virtual_coin" // 处理给用户虚拟币积分
  12. EggEnergyRoutKeyForDealUserEcpm = "user_ecpm" // 处理给用户Ecpm值
  13. )
  14. type EggEnergyTeamAssistanceReq struct {
  15. Uid int64 `json:"uid"`
  16. AssistanceUid int64 `json:"assistance_uid"`
  17. AssistanceValue float64 `json:"assistance_value"`
  18. SignStart string `json:"sign_start"`
  19. SignEnd string `json:"sign_end"`
  20. }
  21. type EggEnergyStructForSignIn struct {
  22. MasterId string `json:"master_id"`
  23. Uid int `json:"uid"`
  24. Id int64 `json:"id"`
  25. EndTime string `json:"end_time"`
  26. }
  27. type UpdateEggEnergyStructForSignInRecords struct {
  28. Id int64 `json:"id"`
  29. Uid int `json:"uid"`
  30. }
  31. type EggEnergyStructForStarLevelDividends struct {
  32. Uid int64 `json:"uid"`
  33. SignDividend float64 `json:"sign_dividend"`
  34. }
  35. type EggEnergyStructForAutoExchangeGreenEnergy 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. StartExchangeTime string `json:"start_exchange_time"` //发起兑换时间
  41. EndExchangeTime string `json:"end_exchange_time"` //截止兑换时间
  42. }
  43. type EggEnergyStructForStartExchangeGreenEnergy struct {
  44. Uid int64 `json:"uid"`
  45. SignId int64 `json:"sign_id"`
  46. PersonEggEnergyCoinId int `json:"person_egg_energy_coin_id"`
  47. TeamEggEnergyCoinId int `json:"team_egg_energy_coin_id"`
  48. PersonPointCoinId int `json:"person_point_coin_id"`
  49. PersonEnergyCoinId int `json:"person_energy_coin_id"`
  50. TeamPointCoinId int `json:"team_point_coin_id"`
  51. TeamEnergyCoinId int `json:"team_energy_coin_id"`
  52. }
  53. type EggEnergyStructForPlatformRevenueData struct {
  54. ID int `json:"id"`
  55. Amount string `json:"amount"` // 资金汇入处理金额
  56. }
  57. type EggEnergyStructForEggEnergyFundData struct {
  58. ID int `json:"id"`
  59. Amount string `json:"amount"` // 平台收入处理金额
  60. }
  61. type EggEnergyStructForDealUserVirtualCoinData struct {
  62. Kind string `json:"kind"`
  63. Title string `json:"title"`
  64. TransferType int `json:"transfer_type"`
  65. CoinId int `json:"coin_id"`
  66. Uid int64 `json:"uid"`
  67. Amount float64 `json:"amount"`
  68. }