feat: 移除用户余额收入记录代码
This commit is contained in:
parent
0d10483162
commit
5cf7dd76b9
@ -169,29 +169,6 @@ class CommissionLogic extends BaseLogic
|
||||
$fees = bcmul($pay_price, $userRate, 2);
|
||||
if ($fees > 0) {
|
||||
//记录用户余额收入
|
||||
// if ($uid) {
|
||||
// if(in_array($enum,[14,15])&&$userRate==0.05){
|
||||
// $purchase_funds=User::where('id', $uid)->value('purchase_funds');
|
||||
// if($purchase_funds>0){
|
||||
// $fees_two = bcmul($purchase_funds, $userRate, 2);
|
||||
// if($fees_two<$fees){
|
||||
// $fees=$fees_two;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// if($enum==12&&$userRate==0.07){
|
||||
// $purchase_funds=User::where('id', $uid)->value('purchase_funds');
|
||||
// if($purchase_funds>0){
|
||||
// $fees_two = bcmul($purchase_funds, $userRate, 2);
|
||||
// if($fees_two<$fees){
|
||||
// $fees=$fees_two;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// $GiveUser = User::where('id', $order['uid'])->find();
|
||||
// $capitalFlowDao = new CapitalFlowLogic($GiveUser);
|
||||
// $capitalFlowDao->userIncome('system_balance_add', 'order', $order['id'], $fees);
|
||||
// }
|
||||
$financeLogic->user['uid'] = $order['uid'];
|
||||
$financeLogic->other_arr['vip_uid'] = $uid;
|
||||
$financeLogic->order = $order;
|
||||
|
Loading…
x
Reference in New Issue
Block a user