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

79 lines
3.3 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. SignId int64 `json:"sign_id"`
  21. }
  22. type EggEnergyStructForSignIn struct {
  23. MasterId string `json:"master_id"`
  24. Uid int `json:"uid"`
  25. Id int64 `json:"id"`
  26. EndTime string `json:"end_time"`
  27. }
  28. type UpdateEggEnergyStructForSignInRecords struct {
  29. Id int64 `json:"id"`
  30. Uid int `json:"uid"`
  31. }
  32. type EggEnergyStructForStarLevelDividends struct {
  33. Uid int64 `json:"uid"`
  34. SignDividend float64 `json:"sign_dividend"`
  35. }
  36. type EggEnergyStructForAutoExchangeGreenEnergy struct {
  37. Uid int64 `json:"uid"`
  38. SignId int64 `json:"sign_id"`
  39. PersonEggEnergyCoinId int `json:"person_egg_energy_coin_id"`
  40. TeamEggEnergyCoinId int `json:"team_egg_energy_coin_id"`
  41. StartExchangeTime string `json:"start_exchange_time"` //发起兑换时间
  42. EndExchangeTime string `json:"end_exchange_time"` //截止兑换时间
  43. }
  44. type EggEnergyStructForStartExchangeGreenEnergy struct {
  45. Uid int64 `json:"uid"`
  46. SignId int64 `json:"sign_id"`
  47. PersonEggEnergyCoinId int `json:"person_egg_energy_coin_id"`
  48. TeamEggEnergyCoinId int `json:"team_egg_energy_coin_id"`
  49. PersonPointCoinId int `json:"person_point_coin_id"`
  50. PersonEnergyCoinId int `json:"person_energy_coin_id"`
  51. TeamPointCoinId int `json:"team_point_coin_id"`
  52. TeamEnergyCoinId int `json:"team_energy_coin_id"`
  53. }
  54. type EggEnergyStructForPlatformRevenueData struct {
  55. ID int `json:"id"`
  56. Amount string `json:"amount"` // 资金汇入处理金额
  57. }
  58. type EggEnergyStructForEggEnergyFundData struct {
  59. ID int `json:"id"`
  60. Amount string `json:"amount"` // 平台收入处理金额
  61. }
  62. type EggEnergyStructForDealUserVirtualCoinData struct {
  63. Kind string `json:"kind"`
  64. Title string `json:"title"`
  65. TransferType int `json:"transfer_type"`
  66. CoinId int `json:"coin_id"`
  67. Uid int64 `json:"uid"`
  68. Amount float64 `json:"amount"`
  69. }