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;