From a6bc50523ab5f63f4f45ebd9178a19870bdeb269 Mon Sep 17 00:00:00 2001 From: xianyi Date: Fri, 16 Jan 2026 10:36:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=AA=E5=B9=B3VIP?= =?UTF-8?q?=E8=AE=A4=E8=AF=81=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/his.ts | 14 ++++++++++++++ src/api/types.ts | 21 +++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/src/api/his.ts b/src/api/his.ts index 77a182e..5a882ab 100644 --- a/src/api/his.ts +++ b/src/api/his.ts @@ -76,6 +76,8 @@ import type { OptionalPackageRemoveResponse, InputTijianOptionItemRecordList, TijianOptionItemRecordListResponse, + InputPhysicalExamTaipingInfo, + IsTaipingVipResponse, } from './types'; /** @@ -591,3 +593,15 @@ export const getExamOptionRecordList = ( data ).then(res => res.data); }; + +/** + * 获取太平VIP客户认证结果 + */ +export const isTaipingVip = ( + data: InputPhysicalExamTaipingInfo +): Promise => { + return request.post( + `${MEDICAL_EXAM_BASE_PATH}/is-taiping-vip`, + data + ).then(res => res.data); +}; diff --git a/src/api/types.ts b/src/api/types.ts index 3c33478..b1236db 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -1360,3 +1360,24 @@ export interface OutputTijianOptionItemRecordList { * 获取体检客户可选项操作记录信息响应 */ export type TijianOptionItemRecordListResponse = CommonActionResult; + +/** + * 是否太平VIP认证入参 + */ +export interface InputPhysicalExamTaipingInfo { + /** 体检ID */ + physical_exam_id: number; +} + +/** + * 自助机太平vip客户信息出参 + */ +export interface OutputSelfServiceTaipingInfo { + /** 是否vip:0-非vip,1-vip */ + is_vip?: number; +} + +/** + * 获取太平VIP客户认证结果响应 + */ +export type IsTaipingVipResponse = CommonActionResult;