123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- package model
- type TrafficPermitRepoConf struct {
- LvRange
- TrafficPermitConf
- }
- type TrafficPermitConf struct {
- Basic TrafficPermitBasic `json:"basic"` // 基础配置
- Task1 []TrafficPermitTaskConf `json:"task1"` // 任务(单日)
- Task2 []TrafficPermitTaskConf `json:"task2"` // 任务(双日)
- PermitRewards TrafficPermitOpenConf `json:"permitRewards"` // 礼包配置
- AlertConfig TrafficPermitAlertConfig `json:"alertConfig"` // 弹窗配置
- MaxRewards TrafficPermitReward `json:"maxRewards"` // 额外奖励
- Levels []TrafficPermitRewardConf `json:"levels"` // 等级奖励配置
- }
- type TrafficPermitBasic struct {
- OpenLv int64 `json:"openLv"`
- GuideLv int64 `json:"guideLv"`
- UpLvDiamondNum int64 `json:"upLvDiamondNum"`
- PassExp int64 `json:"passExp"`
- ItemColor string `json:"itemColor"`
- IconColor string `json:"iconColor"`
- MaxLevelExpGap int64 `json:"maxLevelExpGap"`
- }
- type TrafficPermitTaskConf struct {
- Id int64 `json:"id"`
- Type int64 `json:"type"`
- Num int64 `json:"num"`
- GetNum int64 `json:"getNum"`
- }
- type TrafficPermitOpenConf struct {
- Normal TrafficPermitGiftPackConf `json:"normal"` // 普通版
- Special TrafficPermitGiftPackConf `json:"special"` // 精英版
- }
- type TrafficPermitAlertConfig struct {
- Status int64 `json:"status"`
- FirstStage int64 `json:"firstStage"`
- IntervalStage int64 `json:"intervalStage"`
- }
- type TrafficPermitReward struct {
- Prize []ActPrize `json:"prize"`
- SpecialPrize []ActPrize `json:"specialPrize"`
- }
- type TrafficPermitRewardConf struct {
- LevelId int64 `json:"levelId"`
- Max int64 `json:"max"`
- IsGrandPrize int64 `json:"isGrandPrize"`
- TrafficPermitReward
- }
- type TrafficPermitGiftPackConf struct {
- Price float64 `json:"price"`
- Gid int64 `json:"gid"`
- Sku string `json:"sku"`
- Rewards []TrafficPermitPrize `json:"rewards"`
- }
- type TrafficPermitPrize struct {
- Type int64 `json:"type"`
- Value int64 `json:"value"`
- }
- type TrafficPermitShowConf struct {
- OneLayerLvGroup
- TrafficPermitConf
- }
- type TrafficPermitExcelPrize struct {
- Name string // 奖励名
- Num int64 // 奖励数量
- }
|