|
|
@@ -2814,7 +2814,7 @@ class UserRepository extends BaseRepository
|
|
|
@file_put_contents('quanju.txt', $award . "-总金额扣除份额就是还要冻结的金额\r\n", 8);
|
|
|
$this->addFrozenBrokerage($uid, $award); //冻结奖金
|
|
|
$all_price = bcsub($all_price, $award, 2); //奖金减冻结奖金
|
|
|
- }
|
|
|
+
|
|
|
@file_put_contents('quanju.txt', $all_price . "-扣除金额后提现的金额\r\n", 8);
|
|
|
//用户获得$all_price的佣金
|
|
|
$userBillRepository->incBill($uid, 'brokerage', 'extract_award', [
|
|
|
@@ -2858,7 +2858,7 @@ class UserRepository extends BaseRepository
|
|
|
]);
|
|
|
$userRepository->decField($uid, 'award_integral', $num);
|
|
|
}
|
|
|
-
|
|
|
+ }
|
|
|
}
|
|
|
return true;
|
|
|
}
|