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(){
     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;
     }
     }
 }
 }