diff --git a/routes/manager.py b/routes/manager.py index fe8944c..645f0f0 100644 --- a/routes/manager.py +++ b/routes/manager.py @@ -4,10 +4,9 @@ router = APIRouter() -@router.post("/apis/add") -async def add_anime(anime_url: str, conn=Depends(get_connection)): +##async def add_anime(anime_url: str, conn=Depends(get_connection)): #添加至数据库 -@router.delete("/apis/delete/{anime_id}") -def delete(anime_id: int, conn=Depends(get_connection)): +#@router.delete("/apis/delete/{anime_id}") +#def delete(anime_id: int, conn=Depends(get_connection)): #去数据库删除链接