feat: 新增网元操作相关接口

This commit is contained in:
TsMask
2024-03-26 21:01:39 +08:00
parent c2e95f607b
commit 9faf02a1a6
3 changed files with 30 additions and 3 deletions

View File

@@ -92,3 +92,17 @@ export function stateNeInfo(neType: string, neId: string) {
params: { neType, neId },
});
}
/**
* 查询网元信息
* @param neType 网元类型
* @param neId 网元ID
* @returns object
*/
export function getTypeAndIDNeInfo(neType: string, neId: string) {
return request({
url: '/ne/info/byTypeAndID',
method: 'get',
params: { neType, neId },
});
}