可信代码库-个人中心个人邀请历史记录接口对接
This commit is contained in:
@@ -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
|
||||
}
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user