|
|
@@ -1128,7 +1128,7 @@ class StoreOrderRepository extends BaseRepository
|
|
|
$number = systemConfig('award_energy_saving_oil', 1); //获得份额的基准线
|
|
|
if ($order['pay_price'] >= $number) {
|
|
|
$count = app()->make(User::class)->spread_order($order['uid']); //获取推荐下级订单数
|
|
|
- @file_put_contents('quanju.txt', $count."-测试4\r\n", 8);
|
|
|
+ @file_put_contents('quanju.txt', $count."-下级订单数量\r\n", 8);
|
|
|
if ($count>0){
|
|
|
$order_award_range = bcmul($order['pay_price'], 3, 2);
|
|
|
}else{
|