wx.config({
debug: true,
appId: 'wxde295acee71a2bc6',
timestamp: res.info.timestamp,
nonceStr: res.info.noncestr,
signature: res.info.signature,
jsApiList: ['openLocation', 'getLocation'],
//openTagList: ['wx-open-launch-weapp']
});
因为我传入的url是http://localhost:63342/h5/service-networks.html ,提示 错误码:40048,invalid url domain
修改成http://127.0.0.1:63342/h5/service-networks.html 也是一样的提示,
请问localhost网页如何调试?不可能每次都发布到线上去调试把?
需要在管理端配置对应的可信域名以及不能采用本地调试