🔨 修改终端逻辑.
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
import type { PieChartData } from '@/types/global';
|
||||
import axios from 'axios';
|
||||
|
||||
/**
|
||||
* 查询主机类型图表
|
||||
*/
|
||||
export function getHostTypeChart() {
|
||||
return axios.get<PieChartData>('/asset/statistics/host-type-chart');
|
||||
}
|
||||
@@ -7,11 +7,8 @@ import axios from 'axios';
|
||||
*/
|
||||
export interface TerminalWorkplaceStatisticsResponse {
|
||||
todayTerminalConnectCount: number;
|
||||
todayTerminalCommandCount: number;
|
||||
weekTerminalConnectCount: number;
|
||||
weekTerminalCommandCount: number;
|
||||
terminalConnectChart: LineSingleChartData;
|
||||
terminalCommandChart: LineSingleChartData;
|
||||
terminalConnectList: Array<TerminalConnectLogQueryResponse>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user