添加 查看报告寄送地址接口
This commit is contained in:
@@ -46,6 +46,8 @@ import type {
|
||||
North3ServiceBoardResponse,
|
||||
InputReportSendQRcode,
|
||||
ReportSendQRcodeResponse,
|
||||
InputReportSendInfo,
|
||||
ReportSendInfoResponse,
|
||||
} from './types';
|
||||
|
||||
/**
|
||||
@@ -374,3 +376,15 @@ export const getReportSendQRcode = (
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
/**
|
||||
* 查看报告寄送地址
|
||||
*/
|
||||
export const getReportSendInfo = (
|
||||
data: InputReportSendInfo
|
||||
): Promise<ReportSendInfoResponse> => {
|
||||
return request.post<ReportSendInfoResponse>(
|
||||
`${MEDICAL_EXAM_BASE_PATH}/report-send-info`,
|
||||
data
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
|
||||
@@ -805,3 +805,28 @@ export interface OutputReportSendQRcode {
|
||||
*/
|
||||
export type ReportSendQRcodeResponse = CommonActionResult<OutputReportSendQRcode>;
|
||||
|
||||
/**
|
||||
* 查看报告寄送地址入参
|
||||
*/
|
||||
export interface InputReportSendInfo {
|
||||
/** 预约ID */
|
||||
appointment_id: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* 查看报告寄送地址出参
|
||||
*/
|
||||
export interface OutputReportSendInfo {
|
||||
/** 收件人 */
|
||||
address_contact?: string | null;
|
||||
/** 联系电话 */
|
||||
address_mobile?: string | null;
|
||||
/** 寄送地址 */
|
||||
address_content?: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 查看报告寄送地址响应
|
||||
*/
|
||||
export type ReportSendInfoResponse = CommonActionResult<OutputReportSendInfo>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user