diff --git a/app/Services/WechatPayService.php b/app/Services/WechatPayService.php index 9320430..9588c5a 100644 --- a/app/Services/WechatPayService.php +++ b/app/Services/WechatPayService.php @@ -60,7 +60,7 @@ class WechatPayService public function officialUserTransfer(string $trade_no, string $scene_id, string $openid, int $amount, string $remark, array $transfer_scene_report_infos = []): array { // 发送请求 - if (!empty(count($transfer_scene_report_infos))) { + if (empty(count($transfer_scene_report_infos))) { $transfer_scene_report_infos = [["info_type" => "用户提现", "info_content" => "用户提取账户金额"]]; } try {