- request:fail url not in domain list就获取openid时候错 ?
let _this = this uni.login({ provider: 'weixin', success: function(res) { let appid = _this.appid let secret = _this.secret let url = 'https://api.weixin.qq.com/sns/jscode2session?appid=' + appid + '&secret=' + secret + '&js_code=' + res.code + '&grant_type=authorization_code'; console.info(url); uni.request({ url: url, // 请求路径 success: result => { console.info(result.data.openid); _this.userinfo.openid = result.data.openid; //_this.gologin(); }, fail(err) { console.info(err); } }); }, fail(err) { console.info(err); } });
2021-12-31 - uniapp 发布微信小程序真机调试call_id: 14,call_id去哪看错误信息?
{ret: "fail:not supported", call_id: 14} call_id: 14 ret: "fail:not supported" 小程序开发工具运行都正常, 真机调试就显示错误,页面都打不开
2021-12-30 - editor示例代码开发工具中正常,真机调试就错误?
[图片] 真机调试,试了20次,只有一次是正常的,开发工具上都是正常的
2020-10-22