调试平台手续费分润
This commit is contained in:
parent
fb6aa84bfa
commit
a6b72e7742
@ -61,11 +61,11 @@ class paySuccessOrder
|
|||||||
'order_sn' => $this->event['order']['order_sn'],
|
'order_sn' => $this->event['order']['order_sn'],
|
||||||
'user_info' => $this->event['order']->user->nickname,
|
'user_info' => $this->event['order']->user->nickname,
|
||||||
'user_id' => $this->event['order']['uid'],
|
'user_id' => $this->event['order']['uid'],
|
||||||
'financial_type' => 'entry_merchant_commission',
|
'financial_type' => 'commission_to_entry_merchant',
|
||||||
'financial_pm' => 1,
|
'financial_pm' => 1,
|
||||||
'type' => 1,
|
'type' => 1,
|
||||||
'number' => $merchantAmount,
|
'number' => $merchantAmount,
|
||||||
'mer_id' => $this->event['order']['mer_id'],
|
'mer_id' => $entryMerId,
|
||||||
'financial_record_sn' => $this->financeSn . $this->index
|
'financial_record_sn' => $this->financeSn . $this->index
|
||||||
];
|
];
|
||||||
$this->index++;
|
$this->index++;
|
||||||
@ -121,11 +121,11 @@ class paySuccessOrder
|
|||||||
'order_sn' => $this->event['order']['order_sn'],
|
'order_sn' => $this->event['order']['order_sn'],
|
||||||
'user_info' => $this->event['order']->user->nickname,
|
'user_info' => $this->event['order']->user->nickname,
|
||||||
'user_id' => $this->event['order']['uid'],
|
'user_id' => $this->event['order']['uid'],
|
||||||
'financial_type' => $financialTypeMap[$field] . 'commission',
|
'financial_type' => 'commission_to_' . $financialTypeMap[$field],
|
||||||
'financial_pm' => 1,
|
'financial_pm' => 1,
|
||||||
'type' => 1,
|
'type' => 1,
|
||||||
'number' => $amount,
|
'number' => $amount,
|
||||||
'mer_id' => $this->event['order']['mer_id'],
|
'mer_id' => $merId,
|
||||||
'financial_record_sn' => $this->financeSn . $this->index
|
'financial_record_sn' => $this->financeSn . $this->index
|
||||||
];
|
];
|
||||||
$this->index++;
|
$this->index++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user