downloadFile:fail:url not in domain list

发布于 8 年前作者 junqian5327 次浏览最后编辑 8 年前来自 ask

请求的地址方法为:

wx.downloadFile({

      url: https://tapp.yituwuyou.com/resume-0404a3bc63bd49a68dc3850d7e60018dH24-2017-05-25.pdf,

      success: function (res) {

        var path = res.tempFilePath;

       }

})

下面为小程序配置信息

WXOPEN Club 内容图片

在 调试工具请求, 能够调用本地pdf程序  打开pdf

但是体验版  直接报 downloadFile:fail:url not in domain list

求解答@林超

1 回复
rye
rye1 楼6 年前

我也是这个情况,请问有处理方案么?求指教,急急急急急急