Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这个是不是不支持企业微信,只支持小程序 #15

Open
dahai300 opened this issue Jul 18, 2022 · 10 comments
Open

这个是不是不支持企业微信,只支持小程序 #15

dahai300 opened this issue Jul 18, 2022 · 10 comments

Comments

@dahai300
Copy link

No description provided.

@mushan0x0
Copy link
Owner

不清楚,不过可以试一下

@mushan0x0
Copy link
Owner

用了这个库之后,企业微信登录wx.qy.login() 报错。请问下怎么解决这个问题吗?/抱拳

报啥错

@mushan0x0
Copy link
Owner

https://github.com/mushan0x0/wxapp-api-interceptors/blob/master/example/wxapp/app.js#L3

你看这里wx.newWx换成wx.qy看行不行

@mushan0x0
Copy link
Owner

那应该没办法了。。

@dahai300
Copy link
Author

大神,想想办法啊....

@mushan0x0
Copy link
Owner

你看看wx.old.qy.login可以用不

@dahai300
Copy link
Author

还是不行,wx里没有old方法

@mushan0x0
Copy link
Owner

那在拦截器执行前先把wx.qy保存到一个变量里吧

@dahai300
Copy link
Author

好,我试下。多谢。 /抱拳

@dahai300
Copy link
Author

大神,求改进增强下这个库...支持下企业微信

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants