mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-04 16:16:35 +08:00
feat(project): 添加vben5前端
This commit is contained in:
46
Yi.Vben5.Vue3/apps/web-antd/src/api/service/model.d.ts
vendored
Normal file
46
Yi.Vben5.Vue3/apps/web-antd/src/api/service/model.d.ts
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
export interface CpuInfo {
|
||||
coreTotal: number;
|
||||
logicalProcessors: number;
|
||||
cpuRate: number;
|
||||
}
|
||||
|
||||
export interface MemoryInfo {
|
||||
totalRAM: string;
|
||||
usedRam: string;
|
||||
freeRam: string;
|
||||
ramRate: number;
|
||||
}
|
||||
|
||||
export interface SystemInfo {
|
||||
computerName: string;
|
||||
osName: string;
|
||||
serverIP: string;
|
||||
osArch: string;
|
||||
}
|
||||
|
||||
export interface AppInfo {
|
||||
name: string;
|
||||
version: string;
|
||||
startTime: string;
|
||||
runTime: string;
|
||||
rootPath: string;
|
||||
webRootPath: string;
|
||||
}
|
||||
|
||||
export interface DiskInfo {
|
||||
diskName: string;
|
||||
typeName: string;
|
||||
totalSize: string;
|
||||
availableFreeSpace: string;
|
||||
used: string;
|
||||
availablePercent: number;
|
||||
}
|
||||
|
||||
export interface ServerInfo {
|
||||
cpu: CpuInfo;
|
||||
memory: MemoryInfo;
|
||||
sys: SystemInfo;
|
||||
app: AppInfo;
|
||||
disk: DiskInfo[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user