Fix the menu delete interface arg description (#641)

This commit is contained in:
Wu Clan
2025-05-30 18:58:33 +08:00
committed by GitHub
parent 187dfa5344
commit f05ed5cdda
+1 -1
View File
@@ -71,7 +71,7 @@ async def update_menu(pk: Annotated[int, Path(description='菜单 ID')], obj: Up
DependsRBAC,
],
)
async def delete_menu(pk: Annotated[int, Path(description='菜单 ID 列表')]) -> ResponseModel:
async def delete_menu(pk: Annotated[int, Path(description='菜单 ID')]) -> ResponseModel:
count = await menu_service.delete(pk=pk)
if count > 0:
return response_base.success()