Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
11cfa9b174
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user