上传文件同步数据到数据库

This commit is contained in:
李伟 2022-03-29 17:32:33 +08:00
parent 718323433d
commit 6c0afdf57e

View File

@ -91,6 +91,7 @@ async def edit_data_attr(
#在gametoos同步区服了所以不需要这段代码
@router.post("/add_select_map")
async def add_select_map(
request: Request,
game: str,
file: bytes = File(...),
db: AsyncIOMotorDatabase = Depends(get_database),