| 程序包 | 说明 |
|---|---|
| org.kangspace.wechat.cache |
缓存相关实现包
创建微信公众号access_token缓存类:
new
创建微信公众号js_api_ticket缓存类: new
创建微信公众号其他token缓存类需实现extend
|
| org.kangspace.wechat.endpoint |
| 类和说明 |
|---|
| AbstractRedisWeChatCacheOperator
微信相关缓存抽象实现
基于RedisTemplate缓存,需在Spring中注册redisTemplate
|
| AbstractWeChatCacheOperator
抽象微信缓存处理类
|
| AbstractWeChatCacheOperator.ExpireValue
带超时时间的值
|
| AbstractWeChatCacheOperator.RawLock
获取原数据时的锁对象,
用于提供锁结果及解锁操作
|
| WeChatCacheOperator
微信相关缓存接口
|
| 类和说明 |
|---|
| WeChatJsApiTicketCache
微信公众号JsApiTicket缓存类
|
Copyright © 2020. All rights reserved.