交易组件 功能已经下线,怎么申请 [图片]
平台要求接入订单管理-订单信息录入失败?接入的接口为https://api.weixin.qq.com/shop/order/pay?access_token= ,获取token的接口为"https://api.weixin.qq.com/cgi-bin/stable_token"。 微信支付结果同步失败: {errcode=48001, errmsg=api unauthorized rid: 685420bc-4e980fb0-3e0b4364}请帮忙确定下原因
08-18哦 是的
小程序发货信息管理服务接口调用返回48001,api unauthorized?[图片] [图片] 需要什么权限,在哪里申请?
08-18放到服务器上获取openid 也不行!
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难道是因为测试号,调用wx有时间限制吗?
editor示例代码开发工具中正常,真机调试就错误?[图片] 真机调试,试了20次,只有一次是正常的,开发工具上都是正常的
2020-10-22