merge wsw into master

feat: 开发者社区信息api

Created-by: yfzmpj
Commit-by: 汪少伟
Merged-by: yfzmpj
Description: feat: 开发者社区信息api

See merge request: hk_openRepo/OpenRepo_Portal!41
This commit is contained in:
yfzmpj
2025-03-19 13:04:44 +08:00
4 changed files with 112 additions and 78 deletions

View File

@@ -161,6 +161,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> => {