From e86089c37d7b087f2898c3d0529e3e53b6a0c647 Mon Sep 17 00:00:00 2001 From: weizong song Date: Thu, 2 Jan 2025 00:20:21 +0800 Subject: [PATCH] up --- app/Models/Refund.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Models/Refund.php b/app/Models/Refund.php index 557de3c..53d9331 100755 --- a/app/Models/Refund.php +++ b/app/Models/Refund.php @@ -41,7 +41,7 @@ class Refund extends SoftDeletesModel public function order() { - return $this->belongsTo(Orders::class); + return $this->belongsTo(Orders::class)->withTrashed(); } public function patient() @@ -96,7 +96,6 @@ class Refund extends SoftDeletesModel public function weixinRefund() { $order = $this->order; - dump($this); $url = "https://api.mch.weixin.qq.com/secapi/pay/refund"; $CommonUtilPub = new \CommonUtilPub($order->project_id); $WxPayConfPub = new \WxPayConfPub($order->project_id);