【石阵秘境】图鉴点击领取报错

This commit is contained in:
meixiongfeng 2023-09-27 14:40:04 +08:00
parent 175ba83533
commit e2fb4deb76
2 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,7 @@ func (this *apiComp) BookAward(session comm.IUserSession, req *pb.StonehengeBook
return
}
if confs, err = this.module.configure.getGameStoneIllustratedDatas(); err != nil {
if confs, err = this.module.configure.getGameStoneIllustratedDatas(); err == nil {
for _, v := range confs {
if v.Type == req.Btype && v.ColltectionNum == req.Stage {
conf = v

View File

@ -97,6 +97,7 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp
err = this.LoadConfigure(game_stoneweek, cfg.NewGameStoneWeek)
err = this.LoadConfigure(game_stonetask, cfg.NewGameStoneTask)
err = this.LoadConfigure(game_stoneprivilege, cfg.NewGameStonePrivilege)
err = this.LoadConfigure(game_stoneillustrated, cfg.NewGameStoneIllustrated)
configure.RegisterConfigure(game_stageconf, cfg.NewGameStoneStage, this.LoadGameStoneStage)
configure.RegisterConfigure(game_buffconf, cfg.NewGameStoneBuff, this.LoadGameStoneBuff)
configure.RegisterConfigure(game_storyconf, cfg.NewGameStoneStory, this.LoadGameStoneStory)