diff --git a/app/Services/PatientOrderService.php b/app/Services/PatientOrderService.php index 85d1697..96a2011 100644 --- a/app/Services/PatientOrderService.php +++ b/app/Services/PatientOrderService.php @@ -1932,7 +1932,7 @@ class PatientOrderService extends BaseService // 检测订单取消 // 取消订单原因(1:主动取消 2:客服取消 3:支付超时) $DetectionService = new DetectionService(); - $result = $DetectionService->cancelUnpayDetectionOrder($order_detection['detection_no'], 3, "支付超时"); + $result = $DetectionService->cancelUnpayDetectionOrder($order_detection['detection_no'], 1, "主动取消"); if ($result['status'] != 1) { Db::rollBack(); return fail();