可信代码库-个人中心个人邀请历史记录接口对接

This commit is contained in:
付民康
2025-04-02 15:02:22 +08:00
parent 172f7fbfd5
commit d95d03f0bd
4 changed files with 132 additions and 1 deletions

View File

@@ -296,3 +296,33 @@ export const alertIsSubscribe = (data): Promise<any> => {
})
);
};
// 获取邀请历史
export function getInviteHistoryData(): catchRt<any> {
return reqCatchV2(() =>
request(
{
url: `/api/v1/group/member/invite/accept/history`,
method: 'get'
},
{
customError: true
}
)
);
}
// 删除个人邀请历史记录
export function acceptHistoryDelete(params): catchRt<any> {
return reqCatchV2(() =>
request(
{
url: '/api/v1/group/member/invite/accept/history/delete',
method: 'post',
data: params
},
{
customError: true
}
)
);
}