act_great_memories.go 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package model
  2. type GreatMemoriesCollectConf struct {
  3. RewardEndTime int64 `json:"reward_end_time"`
  4. ActGapDay int64 `json:"act_gap_day"`
  5. ActGapTime int64 `json:"act_gap_time"`
  6. }
  7. type GreatMemoriesRewardConf struct {
  8. LvRange
  9. Stages map[int64]GreatMemoriesVipPointStage `json:"stages"`
  10. }
  11. type GreatMemoriesVipPointStage struct {
  12. VipStart int64 `json:"VipStart"`
  13. VipEnd int64 `json:"VipEnd"`
  14. Stages map[int64]GreatMemoriesLostHourStage `json:"stages"`
  15. }
  16. type GreatMemoriesLostHourStage struct {
  17. LostDayStart int64 `json:"lostDayStart"`
  18. LostDayEnd int64 `json:"lostDayEnd"`
  19. GreatMemoriesRewardCache
  20. }
  21. type GreatMemoriesRewardCache struct {
  22. ActEndTime int64 `json:"act_end_time"`
  23. Rewards map[int64]GreatMemoriesStageReward `json:"rewards"`
  24. }
  25. type GreatMemoriesStageReward struct {
  26. Stage int64 `json:"stage"`
  27. CoolDownTime int64 `json:"cool_down_time"`
  28. Prizes []ActPrize `json:"prizes"`
  29. }
  30. // GreatMemoriesShowConf 后台展示数据类型
  31. type GreatMemoriesShowConf struct {
  32. CollectConf GreatMemoriesCollectConf `json:"collectConf"` // 收集配置
  33. RewardConf []GreatMemoriesRewardShowConf `json:"rewardConf"` // 奖励配置
  34. }
  35. type GreatMemoriesThreeLayer struct {
  36. Id int64 `json:"id"`
  37. LvRange
  38. VipPointRange
  39. LostHourRange
  40. ActEndTime int64 `json:"actEndTime"`
  41. }
  42. type GreatMemoriesRewardShowConf struct {
  43. GreatMemoriesThreeLayer
  44. Reward []GreatMemoriesStageReward `json:"reward"`
  45. }