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

如果使用 TokenManager 初始化调用失败 #232

Open
albusxing opened this issue Jul 2, 2020 · 0 comments
Open

如果使用 TokenManager 初始化调用失败 #232

albusxing opened this issue Jul 2, 2020 · 0 comments

Comments

@albusxing
Copy link

项目启动的时候,调用一次 TokenManager.init()方法获取 accessToken。
如果第一次执行调用失败,TokenManager.getDefaultToken() 方法就无法获取到 token 了!
是需要等到 schedule 再次执行的时候,才能去 weixin 拿 token吗?
有没有提供方法,在业务操作的时候,刷新 tokenMap 中的数据?

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

1 participant