diff --git a/app/Services/PatientOrderService.php b/app/Services/PatientOrderService.php index 7fef9c7..42e8a45 100644 --- a/app/Services/PatientOrderService.php +++ b/app/Services/PatientOrderService.php @@ -386,6 +386,8 @@ class PatientOrderService extends BaseService /** * 问诊订单取消支付 * @return array + * @throws ContainerExceptionInterface + * @throws NotFoundExceptionInterface */ public function putPatientInquiryOrderCancelPay(): array { @@ -443,7 +445,7 @@ class PatientOrderService extends BaseService $params['family_id'] = $family_id; } - if (!empty($inquiry_status_params) && $inquiry_status_params != 0) { + if (!empty($order_product_status) && $order_product_status != 0) { // 入参订单状态(1:待支付 2:待发货 3:已发货 4:已签收 5:已取消) // 数据库订单状态(1:待支付 2:待发货 3:已发货 4:已签收 5:已取消) $params['inquiry_status_params'] = $order_product_status;