22 lines
545 B
TypeScript
22 lines
545 B
TypeScript
import { reqCatchV2, type catchRt } from '@/utils/catch';
|
|
import request from '@/utils/request';
|
|
import axios from 'axios';
|
|
|
|
// 详情-获取版本信息
|
|
export function releaseInfo(params: { softwareId: string }): Promise<any> {
|
|
const { softwareId } = params;
|
|
return request({
|
|
url: `/api/v1/repo/release/info?softwareId=${softwareId}`,
|
|
method: 'get'
|
|
});
|
|
}
|
|
|
|
// 详情-搜索结果列表
|
|
export function releasePage(data): Promise<any> {
|
|
return request({
|
|
url: `/api/v1/repo/release/page`,
|
|
method: 'post',
|
|
data
|
|
});
|
|
}
|