Skip to content

Commit

Permalink
modified: routes/manager.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xmkjw63 committed Jun 30, 2023
1 parent 05285d7 commit 3265637
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions routes/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)):
#去数据库删除链接

0 comments on commit 3265637

Please # to comment.