feat: 网元主机表单校验和提示翻译

This commit is contained in:
TsMask
2024-03-09 18:08:40 +08:00
parent 249d89af88
commit dce068fcb1
5 changed files with 426 additions and 9 deletions

View File

@@ -74,4 +74,17 @@ export function testNeHost(data: Record<string, any>) {
method: 'post',
data: data,
});
}
}
/**
* 网元主机SSH方式检查服务器环境
* @param data 网元主机对象
* @returns object
*/
export function neHostCheckInfo(data: Record<string, any>) {
return request({
url: '/ne/host/checkBySSH',
method: 'post',
data: data,
});
}