From 7f8f0cc691a40891881c87fcc0881fcea1af1f5d Mon Sep 17 00:00:00 2001 From: weizong song Date: Fri, 17 May 2024 10:53:41 +0800 Subject: [PATCH] up --- app/Libs/AlipayF2F.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Libs/AlipayF2F.class.php b/app/Libs/AlipayF2F.class.php index 3c42ef1..9596e7f 100644 --- a/app/Libs/AlipayF2F.class.php +++ b/app/Libs/AlipayF2F.class.php @@ -96,7 +96,7 @@ class AlipayF2F $result = Factory::setOptions($config)::payment() ->common() - ->refund($refund->relatedRecharge->serial, $refund->money, $refund->serial); + ->refund($refund->relatedRecharge->serial, $refund->money); $responseChecker = new ResponseChecker(); //处理响应或异常 if ($responseChecker->success($result)) { @@ -107,7 +107,7 @@ class AlipayF2F ]; $refund->update($update); } else { - Log::info("退款(refund)ID:".$refund->id.",参数1:".$refund->relatedRecharge->serial.",参数2:".$refund->money.",参数3:".$refund->serial."。支付宝退款失败:" . $result->code . ";" . $result->msg . ";" . $result->subMsg); + Log::info("退款(refund)ID:".$refund->id.",参数1:".$refund->relatedRecharge->serial.",参数2:".$refund->money."。支付宝退款失败:" . $result->code . ";" . $result->msg . ";" . $result->subMsg); $refund->increment("try_times"); return false; }