ai
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ router.post('/', upload.single('file'), async (ctx) => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const fileUrl = `https://donghy.top/uploads/${ctx.file.filename}`
|
const fileUrl = `https://donghy.top/img/uploads/${ctx.file.filename}`
|
||||||
ctx.body = {
|
ctx.body = {
|
||||||
code: 200,
|
code: 200,
|
||||||
message: '上传成功**',
|
message: '上传成功**',
|
||||||
|
|||||||
Reference in New Issue
Block a user