配置解析
This commit is contained in:
parent
eed8cd88ac
commit
c8fcee8c35
@ -42,9 +42,9 @@ func (this *apiComp) Challenge(session comm.IUserSession, req *pb.MlineChallenge
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if curChapter == nil { // 校验是不是新的数据
|
if curChapter == nil { // 校验是不是新的数据
|
||||||
preStage := this.module.configure.GetPreMainChapter(req.StageId) // 新章节数据校验
|
//preStage := this.module.configure.GetMainStageConf(stageConf.Previoustage) // 新章节数据校验
|
||||||
preStageConf := this.module.configure.GetMainStageConf(preStage)
|
preStageConf := this.module.configure.GetMainStageConf(stageConf.Previoustage)
|
||||||
if stageConf == nil { // 配置文件校验
|
if preStageConf == nil { // 配置文件校验
|
||||||
code = pb.ErrorCode_MainlineNotFindChapter
|
code = pb.ErrorCode_MainlineNotFindChapter
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user