fix: 修复issue

This commit is contained in:
@user8949
2025-03-18 20:20:37 +08:00
parent 166a5bcdfd
commit af1ce0d1bf
6 changed files with 174 additions and 64 deletions

View File

@@ -8,3 +8,39 @@ export function releaseInfo(params: { repoId: string,releaseId: string }): Prom
method: 'get'
});
}
// 获取高级筛选语言列表
export function searchLanguageList() {
return request({
url: `/api/v1/repo/lan/list`,
method: 'get'
});
}
// 获取首页公告列表
export function getHomeNoticeList() {
return request({
url: '/api/v1/home/notice/list',
method: 'get',
params: {}
});
}
// 获取依赖关系列表
export function getDepencyList(softwareId: string) {
return request({
url: '/api/v1/repo/release/info',
method: 'get',
params: { softwareId: 2 }
});
}
// 获取AI修复建议
export function getRepairInfo() {
return request({
url: '/api/v1/repo/repair/info',
method: 'get',
params: {}
});
}