新增批量删除接口

This commit is contained in:
lai
2023-09-23 10:37:37 +08:00
parent c627d9f768
commit 92434e0cd3
4 changed files with 64 additions and 18 deletions

View File

@@ -98,9 +98,9 @@ export function addAuth(data: Record<string, any>) {
* @param data 鉴权对象
* @returns object
*/
export function batchAuth(neID: string, data: Record<string, any>) {
export function batchAuth( data: Record<string, any>) {
return request({
url: `/udmUserManage/v1/auth/${neID}/${data.num}`,
url: `/udmUserManage/v1/auth/${data.neID}/${data.num}`,
method: 'post',
data: data,
});
@@ -117,3 +117,17 @@ export function delAuth(neId: string, data: Record<string, any>) {
method: 'delete',
});
}
/**
* 批量删除鉴权
* @param data 鉴权对象
* @returns object
*/
export function batchDelAuth(neId:string,data: Record<string, any>) {
return request({
url: `/udmUserManage/v1/auth/${neId}/${data.imsi}/${data.num}`,
method: 'delete',
});
}