feat: 网元主机表单校验和提示翻译
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user