订阅列表接口对接

This commit is contained in:
付民康
2025-03-19 12:34:08 +08:00
parent 17c0df7379
commit 847cfdcb4c
3 changed files with 78 additions and 11 deletions

View File

@@ -193,3 +193,25 @@ export const getgroupNoticeList = (data): Promise<any> => {
})
);
}
// 个人中心-获取订阅列表
export const getSubscribeList = (data): Promise<any> => {
return reqCatchV2(() =>
request({
url: `/api/v1/alert/subscribe/list`,
method: 'POST',
data,
})
);
}
// 个人中心-获取组织级订阅列表
export const getGroupSubscribeList = (data): Promise<any> => {
return reqCatchV2(() =>
request({
url: `/api/v1/alert/group/subscribe/list`,
method: 'POST',
data,
})
);
}