From 55bb38d6d9553583b6d618aa69b403f501ad3760 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Fri, 4 Aug 2023 15:17:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=A2=E5=8D=95=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E6=88=90=E5=8A=9F=E9=80=9A=E7=9F=A5=20=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/DetectionService.php | 1 - app/Services/PatientOrderService.php | 8 +++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/app/Services/DetectionService.php b/app/Services/DetectionService.php index feb4f15..47c01d7 100644 --- a/app/Services/DetectionService.php +++ b/app/Services/DetectionService.php @@ -602,7 +602,6 @@ class DetectionService extends BaseService 'currency' => "CNY", ]; - dump($options); $result = $WechatPay->refund($options); // 处理订单退款状态 diff --git a/app/Services/PatientOrderService.php b/app/Services/PatientOrderService.php index 5ceb793..ba0e297 100644 --- a/app/Services/PatientOrderService.php +++ b/app/Services/PatientOrderService.php @@ -1859,11 +1859,9 @@ class PatientOrderService extends BaseService } try { - if (!empty($order_inquiry['doctor_id'])) { - // 推送患者-订单取消成功通知 - $MessagePush = new MessagePush($order_detection['user_id'], $order_inquiry['order_inquiry_id']); - $MessagePush->patientCancelOrderSuccess($order_detection['order_detection_id']); - } + // 推送患者-订单取消成功通知 + $MessagePush = new MessagePush($order_detection['user_id']); + $MessagePush->patientCancelOrderSuccess($order_detection['order_detection_id']); } catch (\Exception $e) { return success(); }