perf: 各模块分页模型page_num和page_size增加默认值
This commit is contained in:
@@ -37,8 +37,8 @@ class NoticePageQueryModel(NoticeQueryModel):
|
||||
"""
|
||||
通知公告管理分页查询模型
|
||||
"""
|
||||
page_num: int
|
||||
page_size: int
|
||||
page_num: int = 1
|
||||
page_size: int = 10
|
||||
|
||||
|
||||
class DeleteNoticeModel(BaseModel):
|
||||
|
Reference in New Issue
Block a user