tup
This commit is contained in:
parent
f42512aeed
commit
f30d1efb21
@ -54,7 +54,7 @@ const upload = async (ctx,next)=>{
|
|||||||
// 5.重定向到基于根目录下的静态资源web访问路径,展示图片
|
// 5.重定向到基于根目录下的静态资源web访问路径,展示图片
|
||||||
ctx.body = {
|
ctx.body = {
|
||||||
code:0,
|
code:0,
|
||||||
path : stream.path
|
path : stream.path.substr(6).replace(/\\/g,'/')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user