From 6405c5fbb51f94ac875c5f811c8c0b7572e1e755 Mon Sep 17 00:00:00 2001 From: weizong song Date: Fri, 17 May 2024 10:30:29 +0800 Subject: [PATCH 1/4] up --- app/Libs/AlipayF2F.class.php | 2 +- index.html | 40 ------------------------------------ 2 files changed, 1 insertion(+), 41 deletions(-) diff --git a/app/Libs/AlipayF2F.class.php b/app/Libs/AlipayF2F.class.php index 4e499a5..3c42ef1 100644 --- a/app/Libs/AlipayF2F.class.php +++ b/app/Libs/AlipayF2F.class.php @@ -107,7 +107,7 @@ class AlipayF2F ]; $refund->update($update); } else { - Log::info("支付宝退款失败:" . $result->code . ";" . $result->msg . ";" . $result->subMsg); + Log::info("退款(refund)ID:".$refund->id.",参数1:".$refund->relatedRecharge->serial.",参数2:".$refund->money.",参数3:".$refund->serial."。支付宝退款失败:" . $result->code . ";" . $result->msg . ";" . $result->subMsg); $refund->increment("try_times"); return false; } diff --git a/index.html b/index.html index ca49c32..e69de29 100755 --- a/index.html +++ b/index.html @@ -1,40 +0,0 @@ - - - - - 恭喜,站点创建成功! - - - -
-

恭喜, 站点创建成功!

-

这是默认index.html,本页面由系统自动生成

- -
- - \ No newline at end of file From 7f8f0cc691a40891881c87fcc0881fcea1af1f5d Mon Sep 17 00:00:00 2001 From: weizong song Date: Fri, 17 May 2024 10:53:41 +0800 Subject: [PATCH 2/4] 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; } From b421b53e512bf0796bde4adcbf59582b1f75cb69 Mon Sep 17 00:00:00 2001 From: weizong song Date: Fri, 17 May 2024 11:33:09 +0800 Subject: [PATCH 3/4] up --- app/Libs/AlipayF2F.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Libs/AlipayF2F.class.php b/app/Libs/AlipayF2F.class.php index 9596e7f..4a35d5b 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($refund->relatedRecharge->serial, $refund->money, 1); $responseChecker = new ResponseChecker(); //处理响应或异常 if ($responseChecker->success($result)) { From 664ce44d1b0280def8f4af19710e832de63cefe3 Mon Sep 17 00:00:00 2001 From: weizong song Date: Fri, 17 May 2024 11:41:41 +0800 Subject: [PATCH 4/4] up --- app/Libs/AlipayF2F.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Libs/AlipayF2F.class.php b/app/Libs/AlipayF2F.class.php index 4a35d5b..d23f313 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, 1); + ->refund($refund->relatedRecharge->serial, $refund->money, $refund->serial); $responseChecker = new ResponseChecker(); //处理响应或异常 if ($responseChecker->success($result)) {