---完善UDM鉴权

This commit is contained in:
lai
2023-09-22 17:24:55 +08:00
parent fb9f465e12
commit f10bc91bed
4 changed files with 66 additions and 12 deletions

View File

@@ -28,6 +28,22 @@ export function getAllAuth(neId:string) {
});
}
/**
* 导出鉴权数据
* @param neId 网元ID
* @returns object
*/
export function exportAuth(data: Record<string, any>) {
console.log(toRaw(data))
return request({
url: 'udmUserManage/v1/authExport',
method: 'post',
data: data,
responseType: 'blob',
});
}
/**
* 查询鉴权详细
* @param neId 网元ID
@@ -91,4 +107,4 @@ export function delAuth(neId:string,data: Record<string, any>) {
url: `/udmUserManage/v1/auth/${neId}/${data.imsi}`,
method: 'delete',
});
}
}