文件下载地址:
https://oikifiorc.bkt.clouddn.com/timg.jpeg
downloadFile() { wx.downloadFile({ url: 'https://oikifiorc.bkt.clouddn.com/timg.jpeg' , success: function (res) { console.log(res); }, fail: function (res) { console.log(res); } }) }, |
{errMsg: "downloadFile:fail Error: Hostname/IP doesn't match… DNS:test.xiaokele.qingcdn.com, DNS:www.duba.com""}