Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

MP_WxMpConfigStorage

chanjarster edited this page Dec 19, 2014 · 4 revisions

WxMpConfigStorage 是维护微信公众号相关信息的地方,里面有以下信息:

  1. appid
  2. appsecret
  3. token
  4. aes encoding key
  5. access token

Quick Start的例子里我们使用的是WxMpInMemoryConfigStorage。在正式生产环境中,你可以提供自己的实现,比如在集群环境下将这些信息存储到数据库里,以便各个节点能够共享access token。