态势感知平台-态势感知接口api定义文件

This commit is contained in:
fmk1023
2026-01-22 11:32:13 +08:00
parent 7e39d3164b
commit b2a702324a

21
src/api/jyh/situation.ts Normal file
View File

@@ -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<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
});
}