预警通知列表接口对接

This commit is contained in:
付民康
2025-03-19 11:14:12 +08:00
parent d50ed3f2c1
commit 264af985d3
4 changed files with 111 additions and 22 deletions

View File

@@ -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,
})
);
}