调试平台手续费分润

This commit is contained in:
luofei 2023-05-26 11:21:19 +08:00
parent fb6aa84bfa
commit a6b72e7742

View File

@ -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++;