完成大图标小图标切换
This commit is contained in:
@@ -5,3 +5,22 @@ export function getAll<T>() {
|
||||
url: '/system/monitor/getAll',
|
||||
})
|
||||
}
|
||||
|
||||
export function getCpuState<T>() {
|
||||
return post<T>({
|
||||
url: '/system/monitor/getCpuState',
|
||||
})
|
||||
}
|
||||
|
||||
export function getDiskStateByPath<T>(path: string) {
|
||||
return post<T>({
|
||||
url: '/system/monitor/getDiskStateByPath',
|
||||
data: { path },
|
||||
})
|
||||
}
|
||||
|
||||
export function getMemonyState<T>() {
|
||||
return post<T>({
|
||||
url: '/system/monitor/getMemonyState',
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user