修改种养殖下单不加分润
This commit is contained in:
parent
609f981c9f
commit
e77be2e3c3
@ -170,8 +170,10 @@ class CommissionLogic extends BaseLogic
|
||||
//记录用户余额收入
|
||||
if ($uid) {
|
||||
$GiveUser = User::where('id', $order['uid'])->find();
|
||||
$capitalFlowDao = new CapitalFlowLogic($GiveUser);
|
||||
$capitalFlowDao->userIncome('system_balance_add', 'order', $order['id'], $fees);
|
||||
if($GiveUser['user_ship'] != 5){//新限制 不为种养殖
|
||||
$capitalFlowDao = new CapitalFlowLogic($GiveUser);
|
||||
$capitalFlowDao->userIncome('system_balance_add', 'order', $order['id'], $fees);
|
||||
}
|
||||
}
|
||||
$financeLogic->user['uid'] = $order['uid'];
|
||||
$financeLogic->other_arr['vip_uid'] = $uid;
|
||||
|
Loading…
x
Reference in New Issue
Block a user