weixin-java-mp 类图
2023-11-11 18:45:05 0 举报
weixin-java-mp中核心类 WxService管理access_token的类图
作者其他创作
大纲/内容
<<接口>>WxMpConfigStorage
<<接口>>WxService
StableAccessTokenServiceImpl
+ httpClient:CloseableHttpClient = CloseableHttpClient
+ getAccessToken(boolean):String
<<接口>>WxMpService
1:1
MenuHandler
msgReplyService:MsgReplyService
WxMpDefaultConfigImpl
# appId:String# secret:String # token:String # aesKey:String# accessToken:String# expiresTime:int
SubscribeHandler
msgReplyService:MsgReplyServiceuserService:WxUserService
1:n
WxMpRedisConfigImpl
- ACCESS_TOKEN_KEY_TPL:String = \"%s:access_token:%s\"- LOCK_KEY_TPL:String = \"%s:lock:%s:\"- redisOps:WxRedisOps- keyPrefix:String- accessTokenKey:String- lockKey:String
AbstractHandler
BaseWxMpServiceImpl
WxMpMessageRouterRule
- fromUser:String- msgType:String- event:String- eventKey:String- eventKeyRegex:String- content:String- rContent:String- handlers:List<WxMpMessageHandler>=new ArrayList<>()- interceptors:List<WxMpMessageInterceptor>=new ArrayList<>()
<<接口>>WxMpMessageHandler
WxMpMessageRouter
- DEFAULT_THREAD_POOL_SIZE:int=100- rules:List<WxMpMessageRouterRule>:new ArrayList<>()- wxMpService:WxMpService- executorService:ExecutorService
0 条评论
回复 删除
下一页