|
|
@@ -1482,7 +1482,7 @@ class StoreOrderRepository extends BaseRepository
|
|
|
$integral_price = app()->make(AwardIntegralPriceRepository::class)->awardIntegralPrice(); //分红积分价格
|
|
|
foreach ($level as $k => $v) { //遍历等级
|
|
|
$all_performance = 0; //总业绩
|
|
|
- $ratio = $v['award_ratio']; //奖励比例
|
|
|
+ $ratio = bcmul($v['award_ratio'],0.01,2); //奖励比例
|
|
|
$level_price = bcmul($price, $ratio, 2); //等级奖励金额
|
|
|
@file_put_contents('quanju.txt', "------------------------------------------\r\n", 8);
|
|
|
@file_put_contents('quanju.txt', json_encode($v) . "-团队奖励等级信息\r\n", 8);
|