WIN-2308041133\Administrator 5 months ago
parent
commit
4897916eec
1 changed files with 1 additions and 1 deletions
  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(){
     public function getPrice(){
         $mark = app()->make(AwardIntegralPriceDao::class);
         $mark = app()->make(AwardIntegralPriceDao::class);
-        $price = $mark->order('add_time DESC')->value('price');
+        $price = $mark->search([])->order('add_time DESC')->value('price');
         return $price;
         return $price;
     }
     }
 }
 }