From a6b72e7742e03027e3efae3439a0893241190b75 Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Fri, 26 May 2023 11:21:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E5=B9=B3=E5=8F=B0=E6=89=8B?= =?UTF-8?q?=E7=BB=AD=E8=B4=B9=E5=88=86=E6=B6=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/listener/paySuccessOrder.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/listener/paySuccessOrder.php b/app/listener/paySuccessOrder.php index c26a96fe..7b1d3f11 100644 --- a/app/listener/paySuccessOrder.php +++ b/app/listener/paySuccessOrder.php @@ -61,11 +61,11 @@ class paySuccessOrder 'order_sn' => $this->event['order']['order_sn'], 'user_info' => $this->event['order']->user->nickname, 'user_id' => $this->event['order']['uid'], - 'financial_type' => 'entry_merchant_commission', + 'financial_type' => 'commission_to_entry_merchant', 'financial_pm' => 1, 'type' => 1, 'number' => $merchantAmount, - 'mer_id' => $this->event['order']['mer_id'], + 'mer_id' => $entryMerId, 'financial_record_sn' => $this->financeSn . $this->index ]; $this->index++; @@ -121,11 +121,11 @@ class paySuccessOrder 'order_sn' => $this->event['order']['order_sn'], 'user_info' => $this->event['order']->user->nickname, 'user_id' => $this->event['order']['uid'], - 'financial_type' => $financialTypeMap[$field] . 'commission', + 'financial_type' => 'commission_to_' . $financialTypeMap[$field], 'financial_pm' => 1, 'type' => 1, 'number' => $amount, - 'mer_id' => $this->event['order']['mer_id'], + 'mer_id' => $merId, 'financial_record_sn' => $this->financeSn . $this->index ]; $this->index++;