1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- package model
- // TFruitBaseConfig [...]
- type TFruitBaseConfig struct {
- Type string `db:"type" json:"type"` // 配置类型
- Config string `db:"config" json:"config"` // 配置内容
- }
- // TableName get sql table name.获取数据库表名
- func (TFruitBaseConfig) TableName() string {
- return "crazygod_api_config.t_fruit_base_config"
- }
- type FruitSlotBasicConf struct {
- OpenLv int64 `json:"openLv"`
- Resource string `json:"resource"`
- }
- type FruitSlotWeight struct {
- Id int64 `json:"id"`
- Type int64 `json:"type"`
- Weight int64 `json:"weight"`
- Bet int64 `json:"bet"`
- Ext []PropPrize `json:"ext"`
- }
- type FruitSlotWeightUpdate struct {
- Type string `json:"type"`
- Conf []FruitSlotWeight `json:"conf"`
- }
- type FruitSlotGoodsConf struct {
- Gid int64 `json:"gid"`
- Gtype int64 `json:"gtype"`
- Sku string `json:"sku"`
- Price float64 `json:"price"`
- Bet int64 `json:"bet"`
- }
- type FruitSlotBaseCoin struct {
- Lv int64 `json:"lv"`
- Coins int64 `json:"coins"`
- }
- type FruitSlotBaseCoinShow struct {
- LvRange
- Coins int64 `json:"coins"`
- }
|