前后端合体成功

This commit is contained in:
2023-07-13 14:30:07 +09:00
parent 264412582e
commit 4620942795
3 changed files with 36 additions and 23 deletions

View File

@@ -49,7 +49,7 @@ async def createapp(name:str):
property=["label","code","type","required","defaultValue","options"]
@r.post("/createappfromexcel",)
@r.post("/createappfromexcel")
async def createappfromexcel(files:t.List[UploadFile] = File(...)):
for file in files:
if file.filename.endswith('.xlsx'):