添加报告寄送登记二维码
This commit is contained in:
@@ -44,6 +44,8 @@ import type {
|
||||
B1ServiceBoardResponse,
|
||||
InputNorth3ServiceBoard,
|
||||
North3ServiceBoardResponse,
|
||||
InputReportSendQRcode,
|
||||
ReportSendQRcodeResponse,
|
||||
} from './types';
|
||||
|
||||
/**
|
||||
@@ -360,3 +362,15 @@ export const getNorth3ServiceBoard = (
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
/**
|
||||
* 报告寄送登记二维码
|
||||
*/
|
||||
export const getReportSendQRcode = (
|
||||
data: InputReportSendQRcode
|
||||
): Promise<ReportSendQRcodeResponse> => {
|
||||
return request.post<ReportSendQRcodeResponse>(
|
||||
`${MEDICAL_EXAM_BASE_PATH}/report-send-qrcode`,
|
||||
data
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
|
||||
@@ -784,3 +784,24 @@ export interface OutputNorth3ServiceBoard {
|
||||
*/
|
||||
export type North3ServiceBoardResponse = CommonActionResult<OutputNorth3ServiceBoard>;
|
||||
|
||||
/**
|
||||
* 报告寄送登记二维码入参
|
||||
*/
|
||||
export interface InputReportSendQRcode {
|
||||
/** 预约ID */
|
||||
appointment_id: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 报告寄送登记二维码出参
|
||||
*/
|
||||
export interface OutputReportSendQRcode {
|
||||
/** 二维码地址(Base64) */
|
||||
qrcode_url: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 报告寄送登记二维码响应
|
||||
*/
|
||||
export type ReportSendQRcodeResponse = CommonActionResult<OutputReportSendQRcode>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user