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

69 lines
3.0 KiB

  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. EggEnergyRoutKeyForPlatformRevenueData = "platform_revenue_data" // 平台收入
  12. EggEnergyRoutKeyForDealUserVirtualCoinData = "deal_user_virtual_coin" // 处理给用户虚拟币积分
  13. )
  14. type EggEnergyStructForSignIn struct {
  15. MasterId string `json:"master_id"`
  16. Uid int `json:"uid"`
  17. Id int64 `json:"id"`
  18. EndTime string `json:"end_time"`
  19. }
  20. type UpdateEggEnergyStructForSignInRecords struct {
  21. Id int64 `json:"id"`
  22. Uid int `json:"uid"`
  23. }
  24. type EggEnergyStructForStarLevelDividends struct {
  25. Uid int64 `json:"uid"`
  26. SignDividend float64 `json:"sign_dividend"`
  27. }
  28. type EggEnergyStructForStartExchangeGreenEnergy struct {
  29. Uid int64 `json:"uid"`
  30. Amount string `json:"amount"`
  31. PointCoinId int `json:"point_coin_id"`
  32. EnergyCoinId int `json:"energy_coin_id"`
  33. AutoExchangeNumsAmount string `json:"auto_exchange_nums_amount"`
  34. StartExchangeTime string `json:"start_exchange_time"` //发起兑换时间
  35. EndExchangeTime string `json:"end_exchange_time"` //截止兑换时间
  36. }
  37. type EggEnergyStructForAutoExchangeGreenEnergy struct {
  38. Uid int64 `json:"uid"`
  39. EnergyCoinId int `json:"energy_coin_id"`
  40. AutoExchangeNumsAmount string `json:"auto_exchange_nums_amount"`
  41. StartExchangeTime string `json:"start_exchange_time"` //发起兑换时间
  42. EndExchangeTime string `json:"end_exchange_time"` //截止兑换时间
  43. }
  44. type EggEnergyStructForPlatformRevenueData struct {
  45. ID int `json:"id"`
  46. Amount string `json:"amount"` // 资金汇入处理金额
  47. }
  48. type EggEnergyStructForEggEnergyFundData struct {
  49. ID int `json:"id"`
  50. Amount string `json:"amount"` // 平台收入处理金额
  51. }
  52. type EggEnergyStructForDealUserVirtualCoinData struct {
  53. Kind string `json:"kind"`
  54. Title string `json:"title"`
  55. TransferType int `json:"transfer_type"`
  56. CoinId int `json:"coin_id"`
  57. Uid int64 `json:"uid"`
  58. Amount float64 `json:"amount"`
  59. }