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:
@@ -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> => {
|
||||
|
||||
Reference in New Issue
Block a user