缓存名称列表
GET
/monitor/cache/names
需登录
请求参数
Header 参数
Authorization
string
授权令牌
默认值:
{{token_prefix}} {{token_access}}
Referer
string
必需
默认值:
{{referer}}
User-Agent
string
用户浏览器代理
默认值:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://m1.apifoxmock.com/m1/1551143-0-default/monitor/cache/names' \
--header 'Authorization;' \
--header 'Referer;' \
--header 'User-Agent;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
array [object {4}]
必需
cacheName
string
缓存名称
cacheKey
string
缓存键名
cacheValue
string
缓存内容
remark
string
备注
示例
{
"code": 200,
"msg": "成功",
"data": [
{
"cacheName": "login_tokens",
"cacheKey": "",
"cacheValue": "",
"remark": "用户信息"
},
{
"cacheName": "sys_config",
"cacheKey": "",
"cacheValue": "",
"remark": "配置信息"
},
{
"cacheName": "sys_dict",
"cacheKey": "",
"cacheValue": "",
"remark": "数据字典"
},
{
"cacheName": "captcha_codes",
"cacheKey": "",
"cacheValue": "",
"remark": "验证码"
},
{
"cacheName": "repeat_submit",
"cacheKey": "",
"cacheValue": "",
"remark": "防重提交"
},
{
"cacheName": "rate_limit",
"cacheKey": "",
"cacheValue": "",
"remark": "限流处理"
},
{
"cacheName": "pwd_err_cnt",
"cacheKey": "",
"cacheValue": "",
"remark": "密码错误次数"
}
]
}
修改于 2025-02-22 14:32:39