From 9163751e0ef0a879693e6ab699d1490e79e302dd Mon Sep 17 00:00:00 2001 From: xianyi Date: Wed, 17 Dec 2025 14:20:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8A=A5=E5=91=8A=E5=AF=84?= =?UTF-8?q?=E9=80=81=E7=99=BB=E8=AE=B0=E4=BA=8C=E7=BB=B4=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/his.ts | 14 ++++++++++++++ src/api/types.ts | 21 +++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/src/api/his.ts b/src/api/his.ts index af41106..d380308 100644 --- a/src/api/his.ts +++ b/src/api/his.ts @@ -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 => { + return request.post( + `${MEDICAL_EXAM_BASE_PATH}/report-send-qrcode`, + data + ).then(res => res.data); +}; + diff --git a/src/api/types.ts b/src/api/types.ts index fc6ec85..3310136 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -784,3 +784,24 @@ export interface OutputNorth3ServiceBoard { */ export type North3ServiceBoardResponse = CommonActionResult; +/** + * 报告寄送登记二维码入参 + */ +export interface InputReportSendQRcode { + /** 预约ID */ + appointment_id: string; +} + +/** + * 报告寄送登记二维码出参 + */ +export interface OutputReportSendQRcode { + /** 二维码地址(Base64) */ + qrcode_url: string; +} + +/** + * 报告寄送登记二维码响应 + */ +export type ReportSendQRcodeResponse = CommonActionResult; +