修改种养殖下单不加分润

This commit is contained in:
liu 2024-07-06 14:36:54 +08:00
parent 609f981c9f
commit e77be2e3c3

View File

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