perf: 各模块分页模型page_num和page_size增加默认值
This commit is contained in:
@@ -83,8 +83,8 @@ class RolePageQueryModel(RoleQueryModel):
|
||||
"""
|
||||
角色管理分页查询模型
|
||||
"""
|
||||
page_num: int
|
||||
page_size: int
|
||||
page_num: int = 1
|
||||
page_size: int = 10
|
||||
|
||||
|
||||
class RoleMenuQueryModel(BaseModel):
|
||||
|
Reference in New Issue
Block a user