Add online info to statistics management page

This commit is contained in:
2023-12-19 09:07:41 +08:00
parent 8ac27b6e61
commit 33368f7f89
6 changed files with 176 additions and 16 deletions

View File

@@ -12,7 +12,8 @@ import {
URL_SYS_STATISTIC_SOFTWARE,
URL_SYS_STATISTIC_HARDWARE,
URL_SYS_STATISTIC_CPU,
URL_SYS_STATISTIC_STORAGE
URL_SYS_STATISTIC_STORAGE,
URL_SYS_STATISTIC_ONLINE
} from '@/constants/urls.constants'
import request from '@/services/index'
@@ -86,3 +87,5 @@ export const r_sys_statistic_hardware = () =>
export const r_sys_statistic_cpu = () => request.get<CpuInfoVo>(URL_SYS_STATISTIC_CPU)
export const r_sys_statistic_storage = () => request.get<StorageInfoVo>(URL_SYS_STATISTIC_STORAGE)
export const r_sys_statistic_online = () => request.get<OnlineInfoVo>(URL_SYS_STATISTIC_ONLINE)