act_crazy_build.go 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package model
  2. type CrazyBuildRewardConf struct {
  3. SsGroup
  4. Reward CrazyBuildReward `json:"reward"`
  5. }
  6. type CrazyBuildReward struct {
  7. BasicReward map[int64]CrazyBuildStageReward `json:"basicReward"` // 阶段奖励
  8. FinalReward map[int64]CrazyBuildStageReward `json:"finalReward"` // 最终大奖
  9. }
  10. type CrazyBuildStageReward struct {
  11. UserLevel int64 `json:"userLevel"`
  12. Prize []ActPrize `json:"prize"`
  13. }
  14. // CrazyBuildShowConf 后台展示数据类型
  15. type CrazyBuildShowConf struct {
  16. BasicConf CrazyBuildBasicConf `json:"basic_conf"` // 基础配置
  17. RewardInfo []CrazyBuildRewardShowConf `json:"reward_info"` // 奖励配置
  18. }
  19. type CrazyBuildBasicConf struct {
  20. Layer int64 `json:"layer"` // 活动层数
  21. }
  22. type CrazyBuildRewardShowConf struct {
  23. OneLayerSsGroup
  24. Reward []CrazyBuildShowRangeReward `json:"reward"`
  25. }
  26. type CrazyBuildShowReward struct {
  27. UserLevel int64 `json:"userLevel"` // 等级
  28. BasicPrize []ActPrize `json:"basicPrize"` // 阶段奖励
  29. FinalPrize []ActPrize `json:"finalPrize"` // 最终大奖
  30. }
  31. type CrazyBuildShowRangeReward struct {
  32. LvRange
  33. BasicPrize []ActPrize `json:"basicPrize"` // 阶段奖励
  34. FinalPrize []ActPrize `json:"finalPrize"` // 最终大奖
  35. }