添加 Native-查询支付是否成功
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user