WIN-2308041133\Administrator пре 6 месеци
родитељ
комит
4897916eec
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/common/repositories/user/AwardIntegralPriceRepository.php

+ 1 - 1
app/common/repositories/user/AwardIntegralPriceRepository.php

@@ -173,7 +173,7 @@ class AwardIntegralPriceRepository extends BaseRepository
     }
     public function getPrice(){
         $mark = app()->make(AwardIntegralPriceDao::class);
-        $price = $mark->order('add_time DESC')->value('price');
+        $price = $mark->search([])->order('add_time DESC')->value('price');
         return $price;
     }
 }