微信登录失败,无法获取code。怎么回事呢?
发布于 5 年前 作者 wei21 2696 次浏览 来自 问答

ionic 微信登录失败 此公众号并没有这些scope的权限, 错误码:10005

const scope = 'snsapi_userinfo';
const state = '_' + (+new Date());
// const state = '_' + (+new Date().getTime());
console.log('state:', state);
this.wechat.auth(scope, state).then(res => {
    console.log('code:', res);
}, (error) => {
    console.log('2错误信息:', error);
});
2 回复

不是应该先调用 wx.login?,错误码是什么:?

我的是APP调用微信登录问题。并不是网页调用,不要给我推网页微信登录,谢谢。

麻烦客服给我回复下。

appid: wxf6c660a39ff4f410
回到顶部