yanjunhui/chat

access_token过期后自动续期

Closed this issue · 1 comments

在虚拟机上测试,中间电脑休眠了一段时间后再打开,发现发送微信企业消息返回:“发送消息失败: access_token expired, hint: [1549248037_1_ea3ed0d606a24db653d533bc931d2588]”,请问可以实现token失效后自动续期的功能?

本身就支持的 只不过没考虑到虚拟机休眠的情况 实际服务器使用是不会有休眠的情况的