modify: chapter
This commit is contained in:
@@ -71,7 +71,7 @@ func (l *UnlockChapterLogic) UnlockChapter(req *types.UnlockChapterReq) *types.C
|
||||
return &types.CarvResult{Result: &types.Result{IsValid: false}}
|
||||
}
|
||||
|
||||
if gp.Chapter >= req.Chapter {
|
||||
if gp.Chapter > req.Chapter {
|
||||
return &types.CarvResult{Result: &types.Result{IsValid: true}}
|
||||
}
|
||||
return &types.CarvResult{Result: &types.Result{IsValid: false}}
|
||||
|
||||
@@ -83,7 +83,7 @@ func (l *Game7TaskCheckLogic) Game7TaskCheck(req *types.Game7TaskCheckReq) (*typ
|
||||
case 5:
|
||||
isValid = gp.IsHaveHero31 == 1
|
||||
case 6:
|
||||
isValid = gp.Chapter >= 1
|
||||
isValid = gp.Chapter > 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user