预警通知列表接口对接
This commit is contained in:
@@ -171,3 +171,25 @@ export function repoImport(data: types.commonRepoReqType){
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
// 个人中心-获取预警列表
|
||||
export const getNoticeList = (data): Promise<any> => {
|
||||
return reqCatchV2(() =>
|
||||
request({
|
||||
url: `/api/v1/alert/notice/list`,
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
// 个人中心-获取组织级预警列表
|
||||
export const getgroupNoticeList = (data): Promise<any> => {
|
||||
return reqCatchV2(() =>
|
||||
request({
|
||||
url: `/api/v1/alert/group/notice/list`,
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user