许可证信息接口对接

This commit is contained in:
付民康
2025-03-27 09:47:34 +08:00
parent f293235293
commit 150a18087c
2 changed files with 31 additions and 18 deletions

View File

@@ -277,3 +277,12 @@ export function getVulSuggestion(data) {
},
});
}
// 许可证信息详情
export const getLicenseDetail = ({ id }): Promise<any> => {
return reqCatchV2(() =>
request({
url: `/api/v1/repo/license/detail/${id}`,
method: 'get',
})
);
};