--批量新增鉴权用户
This commit is contained in:
@@ -15,6 +15,19 @@ export function listAuth(query: Record<string, any>) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 全部获取
|
||||
* @param neId 网元ID
|
||||
* @returns object
|
||||
*/
|
||||
export function getAllAuth(neId:string) {
|
||||
return request({
|
||||
url: `/udmUserManage/v1/authSave/${neId}`,
|
||||
method: 'post',
|
||||
timeout:600*1000
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询鉴权详细
|
||||
* @param neId 网元ID
|
||||
@@ -54,6 +67,19 @@ export function addAuth(neID:string,data: Record<string, any>) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量新增鉴权
|
||||
* @param data 鉴权对象
|
||||
* @returns object
|
||||
*/
|
||||
export function batchAuth(neID:string,data: Record<string, any>) {
|
||||
return request({
|
||||
url: `/udmUserManage/v1/auth/${neID}/${data.num}`,
|
||||
method: 'post',
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 删除鉴权
|
||||
|
||||
Reference in New Issue
Block a user