WIN-2308041133\Administrator 5 月之前
父節點
當前提交
ab32e66915
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      app/common/repositories/store/order/StoreOrderRepository.php

+ 3 - 3
app/common/repositories/store/order/StoreOrderRepository.php

@@ -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']);
         }
     }