收藏
回答

文件上传下载遇到问题

文件下载地址:

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);
            }
        })
    },



  1. {errMsg"downloadFile:fail Error: Hostname/IP doesn't match… DNS:test.xiaokele.qingcdn.com, DNS:www.duba.com""}

    1. errMsg:"downloadFile:fail Error: Hostname/IP doesn't match certificate's altnames: "Host: oikifiorc.bkt.clouddn.com. is not in the cert's altnames: DNS:www.baishancloud.com, DNS:baishancloud.com, DNS:desk123.duba.com, DNS:dhimg.duba.com, DNS:dl.doyo.cn, DNS:ent.duba.com, DNS:hotnews.duba.com, DNS:hotnews2.duba.com, DNS:img.cmcmcdn.com, DNS:news.xunyou.com, DNS:s01.10101111cdn.com, DNS:s02.10101111cdn.com, DNS:sgad.moreu.cn, DNS:tejia.duba.com, DNS:test.xiaokele.qingcdn.com, DNS:www.duba.com""



回答关注问题邀请回答
收藏
登录 后发表内容