添加pdf接口

This commit is contained in:
xianyi
2025-12-11 11:11:44 +08:00
parent b5aaf19897
commit 364f85fb9c
2 changed files with 49 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ import type {
CustomerDetailResponse,
InputMedicalExamCenterSignIn,
PhysicalExamSignInResponse,
InputTongyishuInfo,
TongyishuGetResponse,
} from './types';
/**
@@ -112,3 +114,15 @@ export const signInMedicalExamCenter = (
).then(res => res.data);
};
/**
* 获取体检知情同意书PDF
*/
export const getTongyishuPdf = (
data: InputTongyishuInfo
): Promise<TongyishuGetResponse> => {
return request.post<TongyishuGetResponse>(
`${MEDICAL_EXAM_BASE_PATH}/tongyishu-get`,
data
).then(res => res.data);
};