From 57bb13148a94e81dd46e2f678b6d14e335ef220d Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Wed, 8 May 2024 14:26:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BC=98=E6=83=A0=E5=8D=B7?= =?UTF-8?q?=E9=80=80=E8=BF=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/OrderService.php | 1 - app/Services/PatientOrderService.php | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Services/OrderService.php b/app/Services/OrderService.php index c24fff2..dd8522d 100644 --- a/app/Services/OrderService.php +++ b/app/Services/OrderService.php @@ -247,7 +247,6 @@ class OrderService extends BaseService $data['patient_id'] = $order['patient_id']; $data['order_no'] = $order['order_no']; $data['refund_no'] = $refund_no; - $data['inquiry_refund_no'] = $refund_no; $data['refund_id'] = $refund_id; $data['refund_status'] = $refund_status; $data['refund_total'] = $order['payment_amount_total']; diff --git a/app/Services/PatientOrderService.php b/app/Services/PatientOrderService.php index dcc9453..ab97418 100644 --- a/app/Services/PatientOrderService.php +++ b/app/Services/PatientOrderService.php @@ -397,7 +397,7 @@ class PatientOrderService extends BaseService $redis->del($redis_key); Db::commit(); - } catch (\Exception $e) { + } catch (\Throwable $e) { Db::rollBack(); return fail(HttpEnumCode::HTTP_ERROR, $e->getMessage()); } @@ -417,7 +417,7 @@ class PatientOrderService extends BaseService $MessagePush = new MessagePush($user_doctor['user_id'], $order_inquiry['inquiry_no']); $MessagePush->patientCancelInquiryToDoctor(); } - } catch (\Exception $e) { + } catch (\Throwable $e) { return success(); }