WIN-2308041133\Administrator 5 months ago
parent
commit
6e7ff8207d

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

@@ -133,7 +133,8 @@ class AwardIntegralPriceRepository extends BaseRepository
     public function getLakeList(array $where, $page, $limit)
     {
         // 根据条件查询数据,$where 为查询条件数组
-        $query = AwardLakeDao::search($where);
+        $mark = app()->make(AwardLakeDao::class);
+        $query = $mark->search($where);
 
         // 统计满足条件的数据总数
         $count = $query->count();

+ 3 - 0
route/admin/award.php

@@ -33,6 +33,9 @@ Route::group(function () {
         Route::get('oil/lst', '/oil_lst')->name('systemAwardOilLst')->option([
             '_alias' => '节能油等级列表',
         ]);
+        Route::post('create', '/create')->name('systemArticleArticleCreate')->option([
+            '_alias' => '文章添加',
+        ]);
 //        Route::get('select', '/select')->option([
 //            '_alias' => '文章分类筛选',
 //            '_auth'  => false,