- top.dingwen.io.api.doc
- 网站[webplus]
- 枚举
- 异步[async]
- 邮件
- 测试
- 管道业务流[pipeline]
- 测试
- 本地缓存[caffeine]
- 分布式缓存[Redis]
- 二级缓存
- 网络通讯[websocket]
- 进度条
- 日志监控
- 令牌[jwt]
- 配置[config]
- 字典[dict]
- 翻译
- 敏感词
- 公共模块
- 安全模块
获取缓存详情
GET
/common/caffeine/{cacheName}
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
cacheName
string
缓存名称
示例值:
defaultVisualCaffeineCache
返回响应
🟢200成功
application/json
Body
code
number
返回code
exCode
string
异常码
message
string
消息
success
boolean
是否成功
currentTime
string <date-time>
服务器响应时间
正则匹配:
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$
tranceId
string
请求id
data
object (本地缓存结果)
数据
cacheDataUrl
string
可选
直接使用具体的缓存数据会导致前端卡顿
cacheName
string
缓存名称
estimatedSize
number
当前缓存预计条目
expireDuration
number
过期时间
maxSize
number
最大长度
cacheDescription
string
缓存描述
timeUnit
string
过期时间单位
示例
{
"code": 200,
"message": "SUCCESS",
"data": {},
"currentTime": "2023-05-30 16:14:56"
}
修改于 2025-06-08 12:34:39