添加 Native-生成扫码支付二维码

This commit is contained in:
xianyi
2025-12-22 17:37:57 +08:00
parent 9f471db313
commit 70db8db974
2 changed files with 41 additions and 0 deletions

View File

@@ -24,6 +24,8 @@ import type {
CustomerDetailEditResponse,
InputPhysicalExamAddItem,
PhysicalExamAddItemListResponse,
InputPhysicalExamAddOrder,
PhysicalExamQrcodeCreateResponse,
InputPhysicalExamDiningLog,
PhysicalExamDiningLogResponse,
InputTijianDiningLog,
@@ -210,6 +212,18 @@ export const searchPhysicalExamAddItem = (
).then(res => res.data);
};
/**
* Native-生成扫码支付二维码
*/
export const createNativePaymentQrcode = (
data: InputPhysicalExamAddOrder
): Promise<PhysicalExamQrcodeCreateResponse> => {
return request.post<PhysicalExamQrcodeCreateResponse>(
`${MEDICAL_EXAM_BASE_PATH}/qrcode-create`,
data
).then(res => res.data);
};
/**
* 提交体检签名生成导检单PDF
*/