package frame_type // 卡片类型枚举 type CardType int const ( NormalCard CardType = iota WildCard ScatterCard ) // 卡片 type Card struct { ID int `json:"id"` // id Score map[int]float64 `json:"score"` // 得分 Type CardType `json:"type"` // 类型 Description string `json:"description"` // 描述 } // 免费模式配置 type ScatterConfigItem struct { Num int `json:"num"` // 数量 FreeNum int `json:"freeNum"` // 获取免费次数 FreeAdd int `json:"freeAdd"` // 免费增加次数 Win float64 `json:"win"` // 赢取倍数 }