添加pdf接口
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user