fix: 统一分页请求的 offset 语义

This commit is contained in:
zetaloop
2026-04-07 17:56:38 +08:00
parent 424b2b1cca
commit d153b5cf51
46 changed files with 334 additions and 346 deletions
@@ -36,7 +36,7 @@ func (l *SearchPlayerServicesLogic) SearchPlayerServices(in *pb.SearchPlayerServ
all, err := update.
Limit(int(in.Limit)).
Offset(int(in.Limit * in.Page)).
Offset(int(in.Offset)).
All(l.ctx)
if err != nil {
return nil, errors.New("query all player services err")