test code
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ router.post('/', upload.single('file'), async (ctx) => {
|
|||||||
const fileUrl = `http://110.42.255.239:3005/uploads/${ctx.file.filename}`
|
const fileUrl = `http://110.42.255.239:3005/uploads/${ctx.file.filename}`
|
||||||
ctx.body = {
|
ctx.body = {
|
||||||
code: 200,
|
code: 200,
|
||||||
message: '上传成功',
|
message: '上传成功!!',
|
||||||
url: fileUrl
|
url: fileUrl
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user