添加体检用餐登记接口
This commit is contained in:
@@ -26,6 +26,8 @@ import type {
|
||||
PhysicalExamAddItemListResponse,
|
||||
InputPhysicalExamDiningLog,
|
||||
PhysicalExamDiningLogResponse,
|
||||
InputTijianDiningLog,
|
||||
TijianDiningLogResponse,
|
||||
} from './types';
|
||||
|
||||
/**
|
||||
@@ -220,3 +222,15 @@ export const getPhysicalExamDiningList = (
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
/**
|
||||
* 体检用餐登记
|
||||
*/
|
||||
export const registerPhysicalExamDining = (
|
||||
data: InputTijianDiningLog
|
||||
): Promise<TijianDiningLogResponse> => {
|
||||
return request.post<TijianDiningLogResponse>(
|
||||
`${MEDICAL_EXAM_BASE_PATH}/dining-register`,
|
||||
data
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user