移除报错

This commit is contained in:
meixiongfeng 2024-01-17 16:22:10 +08:00
parent 25611388bb
commit 6f6f86d6a4

View File

@ -199,22 +199,6 @@ func (this *configureComp) GetPagodaCirculateConf(restriction int32, floor int32
return
}
func (this *configureComp) GetPagodaRaceConfById(id int32) (data *cfg.GameCirculateData, err error) {
var (
v interface{}
)
if v, err = this.GetConfigure(game_circulate); err == nil {
if configure, ok := v.(*cfg.GameCirculate); ok {
data = configure.Get(id)
if data != nil {
return
}
}
}
err = comm.NewNotFoundConfErr(moduleName, game_circulate, id)
return
}
func (this *configureComp) GetRaceCirculateConf() []int32 {
return this.circulate
}