上传文件同步数据到数据库
This commit is contained in:
parent
718323433d
commit
6c0afdf57e
@ -91,6 +91,7 @@ async def edit_data_attr(
|
|||||||
#在gametoos同步区服了,所以不需要这段代码
|
#在gametoos同步区服了,所以不需要这段代码
|
||||||
@router.post("/add_select_map")
|
@router.post("/add_select_map")
|
||||||
async def add_select_map(
|
async def add_select_map(
|
||||||
|
request: Request,
|
||||||
game: str,
|
game: str,
|
||||||
file: bytes = File(...),
|
file: bytes = File(...),
|
||||||
db: AsyncIOMotorDatabase = Depends(get_database),
|
db: AsyncIOMotorDatabase = Depends(get_database),
|
||||||
|
Loading…
Reference in New Issue
Block a user