fix: 网元管理的接口调整
This commit is contained in:
@@ -80,6 +80,7 @@ export async function getNeInfo(id: string | number) {
|
||||
* @returns object
|
||||
*/
|
||||
export function addNeInfo(data: Record<string, any>) {
|
||||
data.port = `${data.port}`
|
||||
return request({
|
||||
url: `/systemManagement/v1/elementType/${data.ne_type}/objectType/neInfo`,
|
||||
method: 'post',
|
||||
@@ -93,6 +94,7 @@ export function addNeInfo(data: Record<string, any>) {
|
||||
* @returns object
|
||||
*/
|
||||
export function updateNeInfo(data: Record<string, any>) {
|
||||
data.port = `${data.port}`
|
||||
return request({
|
||||
url: `/systemManagement/v1/elementType/${data.ne_type}/objectType/neInfo`,
|
||||
method: 'put',
|
||||
|
||||
Reference in New Issue
Block a user