diff --git a/src/api/jyh/situation.ts b/src/api/jyh/situation.ts new file mode 100644 index 0000000..54dd904 --- /dev/null +++ b/src/api/jyh/situation.ts @@ -0,0 +1,21 @@ +import { reqCatchV2, type catchRt } from '@/utils/catch'; +import request from '@/utils/request'; +import axios from 'axios'; + +// 详情-获取版本信息 +export function releaseInfo(params: { softwareId: string }): Promise { + const { softwareId } = params; + return request({ + url: `/api/v1/repo/release/info?softwareId=${softwareId}`, + method: 'get' + }); +} + +// 详情-搜索结果列表 +export function releasePage(data): Promise { + return request({ + url: `/api/v1/repo/release/page`, + method: 'post', + data + }); +}