From 041947a14f0f2793c0a063904c9e6781ff604c4f Mon Sep 17 00:00:00 2001 From: weizong song Date: Thu, 2 Jan 2025 00:44:20 +0800 Subject: [PATCH] up --- app/Models/Refund.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Refund.php b/app/Models/Refund.php index afe1670..5141257 100755 --- a/app/Models/Refund.php +++ b/app/Models/Refund.php @@ -96,10 +96,10 @@ class Refund extends SoftDeletesModel public function weixinRefund() { $order = $this->order; - dump($order); $url = "https://api.mch.weixin.qq.com/secapi/pay/refund"; $CommonUtilPub = new \CommonUtilPub($order->project_id); $WxPayConfPub = new \WxPayConfPub($order->project_id); + dump($WxPayConfPub); $inputObj = []; $inputObj["transaction_id"] = $this->relatedRecharge->payment_serial; $inputObj["out_refund_no"] = $this->serial; @@ -129,7 +129,7 @@ class Refund extends SoftDeletesModel $this->decrement("try_times"); } } - dump($this->toArray(),$inputObj,$result); + dump($result); } catch (\Exception $exception) { $msg = "在线退款失败,原因:" . $exception->getMessage(); Log::info($msg);