support upload image

This commit is contained in:
Liujian committed 2025-07-23 19:21:36 +08:00
1 parent f0696ace22
commit 8ba3592035
1 file changed
+1 -1
+1 -1
View File
@@ -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}",
})