From 3b4c3be5ca7869464b13df45ea745f369dba3043 Mon Sep 17 00:00:00 2001 From: liaofei <136327134@qq.com> Date: Thu, 2 Mar 2023 10:37:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=A4=E6=96=AD=E6=8F=90?= =?UTF-8?q?=E7=8E=B0=E9=87=91=E9=A2=9D=E5=AE=9E=E5=90=8D=E8=AE=A4=E8=AF=81?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/crmeb/services/easywechat/v3pay/PayClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmeb/crmeb/services/easywechat/v3pay/PayClient.php b/crmeb/crmeb/services/easywechat/v3pay/PayClient.php index 834733c1b..a9dd78bdd 100644 --- a/crmeb/crmeb/services/easywechat/v3pay/PayClient.php +++ b/crmeb/crmeb/services/easywechat/v3pay/PayClient.php @@ -212,7 +212,7 @@ class PayClient extends BaseClient $totalFee = '0'; $amount = bcadd($amount, '0', 2); foreach ($transferDetailList as &$item) { - if ($item['transfer_amount'] >= 2000 && !empty($item['user_name'])) { + if ($item['transfer_amount'] >= 2000 && empty($item['user_name'])) { throw new PayException('明细金额大于等于2000时,收款人姓名必须填写'); } $totalFee = bcadd($totalFee, $item['transfer_amount'], 2);