添加 Native-查询支付是否成功
This commit is contained in:
@@ -26,6 +26,8 @@ import type {
|
|||||||
PhysicalExamAddItemListResponse,
|
PhysicalExamAddItemListResponse,
|
||||||
InputPhysicalExamAddOrder,
|
InputPhysicalExamAddOrder,
|
||||||
PhysicalExamQrcodeCreateResponse,
|
PhysicalExamQrcodeCreateResponse,
|
||||||
|
InputOrderPaymentInfo,
|
||||||
|
PhysicalExamIsPaymentResponse,
|
||||||
InputPhysicalExamDiningLog,
|
InputPhysicalExamDiningLog,
|
||||||
PhysicalExamDiningLogResponse,
|
PhysicalExamDiningLogResponse,
|
||||||
InputTijianDiningLog,
|
InputTijianDiningLog,
|
||||||
@@ -224,6 +226,18 @@ export const createNativePaymentQrcode = (
|
|||||||
).then(res => res.data);
|
).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
|
* 提交体检签名生成导检单PDF
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -443,6 +443,21 @@ export interface InputPhysicalExamAddOrder {
|
|||||||
*/
|
*/
|
||||||
export type PhysicalExamQrcodeCreateResponse = CommonActionResult<string>;
|
export type PhysicalExamQrcodeCreateResponse = CommonActionResult<string>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 体检支付结果查询入参(Native 查询支付是否成功)
|
||||||
|
*/
|
||||||
|
export interface InputOrderPaymentInfo {
|
||||||
|
/** 体检ID */
|
||||||
|
physical_exam_id: number;
|
||||||
|
/** 订单编号 */
|
||||||
|
order_id: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 体检支付结果查询响应
|
||||||
|
*/
|
||||||
|
export type PhysicalExamIsPaymentResponse = CommonActionResult<string>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 体检用餐登记列表入参
|
* 体检用餐登记列表入参
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user