support upload image
This commit is contained in:
1 parent
f0696ace22
commit
8ba3592035
1 file changed
+1
-1
@@ -46,5 +46,5 @@ async def upload(
|
||||
shutil.copyfileobj(img.file, f)
|
||||
|
||||
return ResponseUtils.success(data={
|
||||
"file_path": file_path
|
||||
"file_path": f"/{file_path}",
|
||||
})
|
||||
Reference in new issue
Block a user