const res = await uni.login({ provider: "weixin" });
await uniIdCo.loginByWeixin({
code: res.code,
});
如上代码,通过 uni.login获取code后调用uniIdCo.loginByWeixin发起登录,时不时出现获取第三方账号失败。
通过查询uni-id-co云对象日志发现错误为:[uni-id-co/ac1cc3051706672225084110280/218ms/ERROR] invalid appid, rid: 65b9c061-6f52cdd2-2037fef8
Error: invalid appid, rid: 65b9c061-6f52cdd2-2037fef8
at generateApiResult (/tmp/function/lib/third-party/weixin/normalize.js:10:11)
at callWxOpenApi (/tmp/function/lib/third-party/weixin/normalize.js:73:5)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
1 个回复
寅春树
这问题解决了吗?