feat: 开发者社区信息api

This commit is contained in:
汪少伟
2025-03-19 13:04:13 +08:00
parent 393c1f7299
commit 3e52edfeea
4 changed files with 112 additions and 78 deletions

View File

@@ -148,6 +148,18 @@ export const dependencyTree = (softwareId: any): Promise<any> => {
})
);
};
// 获取开发者社区信息
export const communityInfo = (softwareId: any): Promise<any> => {
return reqCatchV2(() =>
request({
url: `/api/v1/repo/community/info`,
method: 'POST',
data: {
softwareId
}
})
);
};
// 编辑用户信息(包含订阅默认预警方式)
export const userEdit = (data: any): Promise<any> => {