wx.getSetting({
success: (res) => {
// 业务代码
},
fail: (err) => {
console.log('getSetting fail', err)
// 上传log 到 日志库
}
})
// 日志库收集到的错误如下
{"errno":5,"errMsg":"getSetting:fail:time out"}
{"errMsg":"getSetting:fail:cgi fail(3,-1)","err_code":"0"}
{"errMsg":"getSetting:fail:cgi fail(1,-7)","err_code":"0"}
{"errMsg":"getSetting:fail:cgi fail(2,-1)","err_code":"0"}
{"errMsg":"getSetting:fail:cgi fail(5,0)","err_code":"0"}
{"errMsg":"getSetting:fail:cgi fail(1,-10087)","err_code":"0"}
有没有开了代理,对host做了什么过滤