参数校验
This commit is contained in:
parent
e9a9f99b65
commit
25c8e898be
@ -181,13 +181,12 @@ func (this *Mline) CheckCommpleteStage(uid string, stageId int32) (b bool) {
|
||||
_szData, err := this.modelMline.getMainlineList(uid)
|
||||
if err == nil {
|
||||
for _, v := range _szData {
|
||||
if v.StageId == conf.Id {
|
||||
if _, ok := v.Star[conf.Id]; ok {
|
||||
return true
|
||||
}
|
||||
|
||||
if _, ok := v.Star[conf.Id]; ok {
|
||||
return true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return b
|
||||
return true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user