调试平台手续费分润
This commit is contained in:
parent
246541b9d7
commit
ee14e7c5fb
@ -97,22 +97,22 @@ class paySuccessOrder
|
||||
|
||||
//云仓佣金
|
||||
$this->calculate(Merchant::TypeCloudWarehouse, 'commission_to_cloud_rate');
|
||||
|
||||
//平台佣金
|
||||
$this->finance[] = [
|
||||
'order_id' => $this->event['order']['order_id'],
|
||||
'order_sn' => $this->event['order']['order_sn'],
|
||||
'user_info' => $this->event['order']->user->nickname,
|
||||
'user_id' => $this->event['order']['uid'],
|
||||
'financial_type' => 'commission_to_platform',
|
||||
'financial_pm' => 1,
|
||||
'type' => 1,
|
||||
'number' => $this->remain,
|
||||
'mer_id' => 0,
|
||||
'financial_record_sn' => $this->financeSn . $this->index
|
||||
];
|
||||
}
|
||||
|
||||
//平台佣金
|
||||
$this->finance[] = [
|
||||
'order_id' => $this->event['order']['order_id'],
|
||||
'order_sn' => $this->event['order']['order_sn'],
|
||||
'user_info' => $this->event['order']->user->nickname,
|
||||
'user_id' => $this->event['order']['uid'],
|
||||
'financial_type' => 'commission_to_platform',
|
||||
'financial_pm' => 1,
|
||||
'type' => 1,
|
||||
'number' => $this->remain,
|
||||
'mer_id' => 0,
|
||||
'financial_record_sn' => $this->financeSn . $this->index
|
||||
];
|
||||
|
||||
$financialRecordRepository->insertAll($this->finance);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user