态势感知平台-态势感知接口api定义文件
This commit is contained in:
21
src/api/jyh/situation.ts
Normal file
21
src/api/jyh/situation.ts
Normal 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
|
||||||
|
});
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user