开源软件列表导出接口对接
This commit is contained in:
@@ -241,3 +241,15 @@ export const getGroupSubscribeList = (data): Promise<any> => {
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
// 搜索结果导出接口
|
||||
export const getReleaseExport = (data): Promise<any> => {
|
||||
return reqCatchV2(() =>
|
||||
request({
|
||||
url: `/api/v1/repo/release/export`,
|
||||
method: 'POST',
|
||||
data,
|
||||
responseType: 'blob' // 关键:告诉axios这是二进制数据
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user