This commit is contained in:
董海洋
2026-05-24 15:54:04 +08:00
parent 11742a2bca
commit 5ff1fdc10a
+1 -1
View File
@@ -36,7 +36,7 @@ router.post('/', upload.single('file'), async (ctx) => {
return return
} }
const fileUrl = `https://donghy.top/img/uploads/${ctx.file.filename}` const fileUrl = `https://donghy.top/img/${ctx.file.filename}`
ctx.body = { ctx.body = {
code: 200, code: 200,
message: '上传成功**', message: '上传成功**',