🔨 添加描述字段.
This commit is contained in:
@@ -12,6 +12,7 @@ export interface HostIdentityCreateRequest {
|
||||
username?: string;
|
||||
password?: string;
|
||||
keyId?: number;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -32,6 +33,7 @@ export interface HostIdentityQueryRequest extends Pagination {
|
||||
type?: string;
|
||||
username?: string;
|
||||
keyId?: number;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -44,6 +46,7 @@ export interface HostIdentityQueryResponse extends TableData {
|
||||
username: string;
|
||||
password: string;
|
||||
keyId: number;
|
||||
description: string;
|
||||
createTime: number;
|
||||
updateTime: number;
|
||||
creator: string;
|
||||
|
||||
@@ -11,6 +11,7 @@ export interface HostKeyCreateRequest {
|
||||
publicKey?: string;
|
||||
privateKey?: string;
|
||||
password?: string;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -30,6 +31,7 @@ export interface HostKeyQueryRequest extends Pagination {
|
||||
name?: string;
|
||||
publicKey?: string;
|
||||
privateKey?: string;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -41,8 +43,11 @@ export interface HostKeyQueryResponse extends TableData {
|
||||
publicKey: string;
|
||||
privateKey: string;
|
||||
password: string;
|
||||
description: string;
|
||||
createTime: number;
|
||||
updateTime: number;
|
||||
creator: string;
|
||||
updater: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import type { SelectOptionData } from '@arco-design/web-vue';
|
||||
import type { DataGrid, Pagination } from '@/types/global';
|
||||
import type { TableData } from '@arco-design/web-vue/es/table/interface';
|
||||
import axios from 'axios';
|
||||
@@ -19,6 +18,7 @@ export interface HostCreateRequest {
|
||||
port?: number;
|
||||
tags?: Array<number>;
|
||||
groupIdList?: Array<number>;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -58,6 +58,7 @@ export interface HostQueryRequest extends Pagination {
|
||||
status?: string;
|
||||
tags?: Array<number>;
|
||||
queryTag?: boolean;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -81,6 +82,7 @@ export interface HostQueryResponse extends TableData, HostQueryResponseExtra {
|
||||
color: string;
|
||||
tags: Array<{ id: number, name: string }>;
|
||||
groupIdList: Array<number>;
|
||||
description: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -101,7 +101,9 @@ export function getTerminalConnectLogCount(request: TerminalConnectLogQueryReque
|
||||
* 清空终端连接日志
|
||||
*/
|
||||
export function clearTerminalConnectLog(request: TerminalConnectLogClearRequest) {
|
||||
return axios.post<number>('/asset/terminal-connect-log/clear', request);
|
||||
return axios.post<number>('/asset/terminal-connect-log/clear', request, {
|
||||
timeout: 60000,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user