完善身份证签到
This commit is contained in:
@@ -110,9 +110,17 @@ export const getCustomerDetail = (
|
||||
export const signInMedicalExamCenter = (
|
||||
data: InputMedicalExamCenterSignIn
|
||||
): Promise<PhysicalExamSignInResponse> => {
|
||||
const formData = new FormData();
|
||||
formData.append('id_no_pic', data.id_no_pic);
|
||||
|
||||
return request.post<PhysicalExamSignInResponse>(
|
||||
`${MEDICAL_EXAM_BASE_PATH}/sign-in`,
|
||||
data
|
||||
formData,
|
||||
{
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data',
|
||||
},
|
||||
}
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user