添加示例
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#这是一个示例文件,确保api端口能被正常调用
|
||||
from fastapi import APIRouter
|
||||
|
||||
example_router = APIRouter()
|
||||
|
||||
@example_router.get("/example")
|
||||
def example():
|
||||
return {'hello DoubaoTeam'}
|
||||
Reference in New Issue
Block a user