|
|
@@ -1170,15 +1170,15 @@ class StoreOrderRepository extends BaseRepository
|
|
|
// 上级推荐奖励的分红积分
|
|
|
$this->getSpreadIntegral($order, $type,$user);
|
|
|
// 检测节能油或者礼包升级
|
|
|
- $AwardLake = app()->make(AwardLake::class);
|
|
|
+// $AwardLake = app()->make(AwardLake::class);
|
|
|
if ($type==5){
|
|
|
$oil = app()->make(OilLevel::class);
|
|
|
$oil->checkLevel($order['uid']);
|
|
|
- $AwardLake->addOrderLakes(1,$order['pay_price'],$order['order_id']);
|
|
|
+ AwardLake::addOrderLakes(1,$order['pay_price'],$order['order_id']);
|
|
|
}elseif ($type==6){
|
|
|
$gift = app()->make(GiftLevel::class);
|
|
|
$gift->checkLevel($order['uid']);
|
|
|
- $AwardLake->addOrderLakes(2,$order['pay_price'],$order['order_id']);
|
|
|
+ AwardLake::addOrderLakes(2,$order['pay_price'],$order['order_id']);
|
|
|
}
|
|
|
}
|
|
|
|