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