Update the number of pagination le (#565)

This commit is contained in:
Wu Clan
2025-04-03 19:32:26 +08:00
committed by GitHub
parent 4c007cb47d
commit b93ff19ebe
+1 -1
View File
@@ -24,7 +24,7 @@ class _CustomPageParams(BaseModel, AbstractParams):
"""自定义分页参数"""
page: int = Query(1, ge=1, description='页码')
size: int = Query(20, gt=0, le=100, description='每页数量')
size: int = Query(20, gt=0, le=200, description='每页数量')
def to_raw_params(self) -> RawParams:
return RawParams(