添加太平VIP认证接口
This commit is contained in:
@@ -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<IsTaipingVipResponse> => {
|
||||
return request.post<IsTaipingVipResponse>(
|
||||
`${MEDICAL_EXAM_BASE_PATH}/is-taiping-vip`,
|
||||
data
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
@@ -1360,3 +1360,24 @@ export interface OutputTijianOptionItemRecordList {
|
||||
* 获取体检客户可选项操作记录信息响应
|
||||
*/
|
||||
export type TijianOptionItemRecordListResponse = CommonActionResult<OutputTijianOptionItemRecordList[]>;
|
||||
|
||||
/**
|
||||
* 是否太平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<OutputSelfServiceTaipingInfo>;
|
||||
|
||||
Reference in New Issue
Block a user