10000 我注意到每次调用一下wx-tools里面的方法就会update一下里面的accessToken,但是微信是有调用限制的,怎么解决呢? · Issue #19 · antgan/wx-tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
我注意到每次调用一下wx-tools里面的方法就会update一下里面的accessToken,但是微信是有调用限制的,怎么解决呢? #19
Open
@cathylogs

Description

@cathylogs

我注意到每次调用一下wx-tools里面的方法就会update一下里面的accessToken,但是微信是有调用限制的,怎么解决呢?
我的想法是通过redis来缓存accessToken,redis可以设置该值的过期时间,如果redis里面的被销毁了,那就获取新的accessToken,然后存储到redis中并使用

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0