diff --git a/src/api/monitor/cache.js b/src/api/monitor/cache.js index 59d3505a..b17b9f69 100644 --- a/src/api/monitor/cache.js +++ b/src/api/monitor/cache.js @@ -7,3 +7,69 @@ export function getCache() { method: 'get' }) } + + +export function getCacheInfo() { + return request({ + url: '/monitor/cache/getCacheInfo', + method: 'get', + }) +} + + +/** + * 获取Redis指定的key,如不指定,则获取所有 + */ +export function getCacheKeys(data) { + return request({ + url: '/monitor/cache/getCacheKeys', + method: 'POST', + data: data + }) +} + +/** + * 获取key的个数 + */ +export function getKeysCount() { + return request({ + url: '/monitor/cache/getKeysCount', + method: 'get', + }) +} + + +/** + * 根据key获取value信息 + */ +export function getValueByKey(data) { + return request({ + url: '/monitor/cache/getValueByKey', + method: 'POST', + data: data + }) +} + + +/** + * 根据key删除缓存信息 + */ +export function delKey(data) { + return request({ + url: '/monitor/cache/delKey', + method: 'POST', + data: data + }) +} + +/** + * 删除所有缓存 + */ +export function delKeys(data) { + return request({ + url: '/monitor/cache/delKeys', + method: 'POST', + data: data + }) +} + diff --git a/src/views/emis/emisSettlePayRecord/index.vue b/src/views/emis/emisSettlePayRecord/index.vue index d26636ca..ccd5f971 100644 --- a/src/views/emis/emisSettlePayRecord/index.vue +++ b/src/views/emis/emisSettlePayRecord/index.vue @@ -1,8 +1,95 @@