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(); }