1 回复
huyong
huyong1 楼6 年前

写错的有啥好亮?

let tmpFilePath=res.tmpFilePath;

wx.uploadFile({

url: `${app.globalData.urls}/api/index/uploadfile`,

filePath: tmpFilePath,