添加 Native-查询支付是否成功

This commit is contained in:
xianyi
2025-12-22 17:43:54 +08:00
parent 70db8db974
commit 8c07b32f0d
2 changed files with 29 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ import type {
PhysicalExamAddItemListResponse,
InputPhysicalExamAddOrder,
PhysicalExamQrcodeCreateResponse,
InputOrderPaymentInfo,
PhysicalExamIsPaymentResponse,
InputPhysicalExamDiningLog,
PhysicalExamDiningLogResponse,
InputTijianDiningLog,
@@ -224,6 +226,18 @@ export const createNativePaymentQrcode = (
).then(res => res.data);
};
/**
* Native-查询支付是否成功
*/
export const checkNativePaymentStatus = (
data: InputOrderPaymentInfo
): Promise<PhysicalExamIsPaymentResponse> => {
return request.post<PhysicalExamIsPaymentResponse>(
`${MEDICAL_EXAM_BASE_PATH}/is-payment`,
data
).then(res => res.data);
};
/**
* 提交体检签名生成导检单PDF
*/