添加系统类型.

This commit is contained in:
lijiahangmax
2024-12-12 21:12:08 +08:00
parent f52a81f9d0
commit 247ae2c862
28 changed files with 190 additions and 71 deletions

View File

@@ -1,13 +1,5 @@
import axios from 'axios';
/**
* 主机别名修改请求
*/
export interface HostAliasUpdateRequest {
id?: number;
name?: string;
}
/**
* 主机拓展信息查询请求
*/

View File

@@ -12,6 +12,7 @@ export type HostType = 'SSH' | string | undefined;
*/
export interface HostCreateRequest {
type?: string;
osType?: string;
name?: string;
code?: string;
address?: string;
@@ -50,6 +51,7 @@ export interface HostQueryRequest extends Pagination {
searchValue?: string;
id?: number;
type?: string;
osType?: string;
name?: string;
code?: string;
address?: string;
@@ -64,6 +66,7 @@ export interface HostQueryRequest extends Pagination {
export interface HostQueryResponse extends TableData, HostQueryResponseExtra {
id: number;
type: string;
osType?: string;
name: string;
code: string;
address: string;