订阅软件

This commit is contained in:
MaxShen
2025-03-18 19:51:01 +08:00
parent a252eda5c7
commit 88b994de76
2 changed files with 40 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ export function releaseInfo(params: { repoId: string,releaseId: string }): Prom
});
}
// 获取用户信息
// 获取邀请列表
export function getInviteListData(): catchRt<any> {
return reqCatchV2(() => request({
url: '/api/v1/group/member/invite/list',
@@ -20,7 +20,7 @@ export function getInviteListData(): catchRt<any> {
}));
}
// 获取用户信息
// 处理邀请
export function acceptInvite(params): catchRt<any> {
return reqCatchV2(() => request({
url: '/api/v1/group/member/invite/accept',
@@ -30,3 +30,14 @@ export function acceptInvite(params): catchRt<any> {
customError: true
}));
}
// 发送订阅
export function subscribeSoftware(params): catchRt<any> {
return reqCatchV2(() => request({
url: '/api/v1/alert/subscribe',
method: 'post',
data: params,
}, {
customError: true
}));
}