|
@@ -16,6 +16,7 @@ namespace app\common\repositories\user;
|
|
|
|
|
|
|
|
use app\common\dao\user\AwardIntegralPriceDao;
|
|
use app\common\dao\user\AwardIntegralPriceDao;
|
|
|
use app\common\dao\user\AwardLakeDao;
|
|
use app\common\dao\user\AwardLakeDao;
|
|
|
|
|
+use app\common\dao\user\AwardLakeLogDao;
|
|
|
use app\common\model\store\order\StoreOrder;
|
|
use app\common\model\store\order\StoreOrder;
|
|
|
use app\common\model\user\AwardIntegralPrice;
|
|
use app\common\model\user\AwardIntegralPrice;
|
|
|
use app\common\model\user\AwardLakeLog;
|
|
use app\common\model\user\AwardLakeLog;
|
|
@@ -170,4 +171,9 @@ class AwardIntegralPriceRepository extends BaseRepository
|
|
|
// 返回包含数据总数和数据列表的数组
|
|
// 返回包含数据总数和数据列表的数组
|
|
|
return compact('count', 'list');
|
|
return compact('count', 'list');
|
|
|
}
|
|
}
|
|
|
|
|
+ public function getPrice(){
|
|
|
|
|
+ $mark = app()->make(AwardIntegralPriceDao::class);
|
|
|
|
|
+ $price = $mark->order('add_time DESC')->value('price');
|
|
|
|
|
+ return $price;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|