Merge remote-tracking branch 'origin/master'

# Conflicts:
#	src/api/jyh/index.ts
This commit is contained in:
付民康
2025-03-19 10:45:16 +08:00
4 changed files with 51 additions and 47 deletions

View File

@@ -136,6 +136,28 @@ export function getVulnerabilityList() {
});
}
// 获取漏洞数据
export const getVulnList = (data): Promise<any> => {
return reqCatchV2(() =>
request({
url: `/api/v1/repo/vulnerability/page`,
method: 'post',
data,
})
);
}
// 获取漏洞数据
export const getVulnDetail = (data): Promise<any> => {
return reqCatchV2(() =>
request({
url: `/api/v1/repo/vulnerability/info`,
method: 'POST',
data,
})
);
}
// 迁移批量导入
export function repoImport(data: types.commonRepoReqType){
return reqCatchV2(() =>