fix: fix issue

This commit is contained in:
@user8949
2025-03-18 22:01:02 +08:00
parent 1658890895
commit e3b6b57be7
5 changed files with 58 additions and 12 deletions

View File

@@ -72,9 +72,13 @@ export function getHomeNoticeList() {
// 获取依赖关系列表
export function getDepencyList(softwareId: string) {
return request({
url: '/api/v1/repo/release/info',
method: 'get',
params: { softwareId: 2 }
url: '/api/v1/repo/dependency/info',
method: 'POST',
data: {
softwareId: 47,
current: 1,
size: 20
}
});
}
@@ -82,7 +86,24 @@ export function getDepencyList(softwareId: string) {
export function getRepairInfo() {
return request({
url: '/api/v1/repo/repair/info',
method: 'get',
params: {}
method: 'POST',
data: {
"current": 1,
"size": 10,
"softwareId": 47
}
});
}
// 获取许可证列表
export function getLicenseList() {
return request({
url: '/api/v1/repo/license/list',
method: 'GET',
params: {
"current": 1,
"size": 10,
"softwareId": 47
}
});
}