接口补充 获取掉落相关数据
This commit is contained in:
parent
d7ef8e1556
commit
bccee8accc
@ -495,6 +495,7 @@ type (
|
||||
GetHeroConfig(heroCfgId string) (conf *cfg.GameHeroData, err error)
|
||||
GetPriceGroupLen(pricegroupId int32) (count int32, err error)
|
||||
GetGrormetLlame(id string) (data int32, err error)
|
||||
GetGroupDataByLotteryId(id int32) (data *cfg.GameLotteryData, err error)
|
||||
}
|
||||
|
||||
IReputation interface {
|
||||
|
@ -55,7 +55,13 @@ func (this *Tools) GetGroupDataByLottery(lotteryId int32, vipLv int32, lv int32)
|
||||
items = this.configure.GetGroupDataByLottery(lotteryId, vipLv, lv)
|
||||
return
|
||||
}
|
||||
|
||||
func (this *Tools) GetGroupDataByLotteryId(id int32) (data *cfg.GameLotteryData, err error) {
|
||||
data = this.configure.GetLotterConfById(id)
|
||||
if data == nil {
|
||||
err = comm.NewNotFoundConfErr("game_lottery", game_lottery, id)
|
||||
}
|
||||
return
|
||||
}
|
||||
func (this *Tools) GetGlobalConf() *cfg.GameGlobalData {
|
||||
return this.configure.GetGlobalConf()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user