Optimize routes to better align with RESTful (#673)

* Optimize routes to better align with RESTful

* Add codes endpoint description

* Update jinja templates

* fix typo

* fix sql
This commit is contained in:
Wu Clan
2025-06-19 11:06:34 +08:00
committed by GitHub
parent 0d1f05d307
commit 319ba13df1
74 changed files with 626 additions and 642 deletions
+6
View File
@@ -27,6 +27,12 @@ class UpdateNoticeParam(NoticeSchemaBase):
"""更新通知公告参数"""
class DeleteNoticeParam(SchemaBase):
"""删除通知公告参数"""
pks: list[int] = Field(description='通知公告 ID 列表')
class GetNoticeDetail(NoticeSchemaBase):
"""通知公告详情"""