Jiarenxiang | 38dcb05 | 2025-03-13 16:40:09 +0800 | [diff] [blame^] | 1 | import { request } from '@umijs/max'; |
2 | |||||
3 | |||||
4 | /* * | ||||
5 | * | ||||
6 | * @author whiteshader@163.com | ||||
7 | * @datetime 2021/09/16 | ||||
8 | * | ||||
9 | * */ | ||||
10 | |||||
11 | |||||
12 | // 获取服务器信息 | ||||
13 | export async function getCacheInfo() { | ||||
14 | return request<API.Monitor.CacheInfoResult>('/api/monitor/cache', { | ||||
15 | method: 'GET', | ||||
16 | }); | ||||
17 | } |