添加报告寄送登记二维码

This commit is contained in:
xianyi
2025-12-17 14:20:05 +08:00
parent a345b1abd2
commit 9163751e0e
2 changed files with 35 additions and 0 deletions

View File

@@ -44,6 +44,8 @@ import type {
B1ServiceBoardResponse, B1ServiceBoardResponse,
InputNorth3ServiceBoard, InputNorth3ServiceBoard,
North3ServiceBoardResponse, North3ServiceBoardResponse,
InputReportSendQRcode,
ReportSendQRcodeResponse,
} from './types'; } from './types';
/** /**
@@ -360,3 +362,15 @@ export const getNorth3ServiceBoard = (
).then(res => res.data); ).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);
};

View File

@@ -784,3 +784,24 @@ export interface OutputNorth3ServiceBoard {
*/ */
export type North3ServiceBoardResponse = CommonActionResult<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>;