wx.downloadFile({
url: 'https://res.wx.qq.com/wxdoc/dist/assets/img/demo.ef5c5bef.jpg',
success: (res) => {
console.log(res.tempFilePath);
wx.showShareImageMenu({
path: res.tempFilePath,
success: (res) => {
console.log('success', res)
}, fail: (res) => {
console.log('fail', res)
}
})
}
})