diff --git a/internal/logic/carv/unlock_chapter_logic.go b/internal/logic/carv/unlock_chapter_logic.go index 73f19c8..b428ade 100644 --- a/internal/logic/carv/unlock_chapter_logic.go +++ b/internal/logic/carv/unlock_chapter_logic.go @@ -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}} diff --git a/internal/logic/game7/game7_task_check_logic.go b/internal/logic/game7/game7_task_check_logic.go index c9b0295..14e116e 100644 --- a/internal/logic/game7/game7_task_check_logic.go +++ b/internal/logic/game7/game7_task_check_logic.go @@ -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 } } }