This commit is contained in:
jxxghp
2025-08-01 16:39:40 +08:00
parent 104138b9a7
commit 8ab233baef
3 changed files with 7 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ async def read_sites(db: AsyncSession = Depends(get_async_db),
"""
获取站点列表
"""
return Site.async_list_order_by_pri(db)
return await Site.async_list_order_by_pri(db)
@router.post("/", summary="新增站点", response_model=schemas.Response)