From b2a702324a48cacbc7b211253964bfd63966d5f4 Mon Sep 17 00:00:00 2001 From: fmk1023 Date: Thu, 22 Jan 2026 11:32:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=81=E5=8A=BF=E6=84=9F=E7=9F=A5=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0-=E6=80=81=E5=8A=BF=E6=84=9F=E7=9F=A5=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3api=E5=AE=9A=E4=B9=89=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/jyh/situation.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/api/jyh/situation.ts 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 + }); +}