11 lines
323 B
TypeScript
11 lines
323 B
TypeScript
|
|
import request from '@/utils/request';
|
||
|
|
|
||
|
|
// 详情-获取版本信息
|
||
|
|
export function releaseInfo(params: { repoId: string,releaseId: string }): Promise<any> {
|
||
|
|
const { repoId,releaseId } = params;
|
||
|
|
return request({
|
||
|
|
url: `/api/v1/repo/release/info?repo_id=${repoId}&releaseId=${releaseId}`,
|
||
|
|
method: 'get'
|
||
|
|
});
|
||
|
|
}
|