This commit is contained in:
theluyuan 2021-09-28 11:47:34 +08:00
parent f42512aeed
commit f30d1efb21

View File

@ -54,7 +54,7 @@ const upload = async (ctx,next)=>{
// 5.重定向到基于根目录下的静态资源web访问路径展示图片
ctx.body = {
code:0,
path : stream.path
path : stream.path.substr(6).replace(/\\/g,'/')
}
}