添加接口:今日体检进度信息
This commit is contained in:
@@ -4,6 +4,8 @@ import type {
|
||||
TodayExamStatisticsResponse,
|
||||
InputRevenueStatisticsInfo,
|
||||
RevenueStatisticsResponse,
|
||||
InputTodayExamProgress,
|
||||
TodayExamProgressResponse,
|
||||
} from './types';
|
||||
|
||||
/**
|
||||
@@ -46,3 +48,17 @@ export const getRevenueStatistics = (
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
/**
|
||||
* 今日体检进度信息
|
||||
* @param data 请求参数(空对象)
|
||||
* @returns 今日体检进度信息
|
||||
*/
|
||||
export const getTodayExamProgress = (
|
||||
data: InputTodayExamProgress = {}
|
||||
): Promise<TodayExamProgressResponse> => {
|
||||
return request.post<TodayExamProgressResponse>(
|
||||
`${MEDICAL_EXAM_BASE_PATH}/today-exam-progress`,
|
||||
data
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user