WIN-2308041133\Administrator 5 tháng trước cách đây
mục cha
commit
17c1c59cb6
2 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 2 2
      app/controller/admin/user/OilLevel.php
  2. 1 1
      route/admin/award.php

+ 2 - 2
app/controller/admin/user/OilLevel.php

@@ -29,7 +29,7 @@ use think\db\exception\DbException;
 use think\db\exception\ModelNotFoundException;
 
 /**
- * Class Award
+ * Class OilLevel
  * app\controller\admin\user
  * 用户扩展字段设置
  */
@@ -52,7 +52,7 @@ class OilLevel extends BaseController
     public function lst()
     {
         [$page, $limit] = $this->getPage();
-        $where = $this->request->params(['day']);
+        $where = $this->request->params(['']);
         return app('json')->success($this->repository->getList($where, $page, $limit));
     }
     /**

+ 1 - 1
route/admin/award.php

@@ -68,7 +68,7 @@ Route::group(function () {
 //            '_alias' => '文章分类筛选',
 //            '_auth'  => false,
 //        ]);
-    })->prefix('admin.user.OilLevels')->option([
+    })->prefix('admin.user.award')->option([
         '_path' => '/award/oillevel',
         '_auth' => true,
     ]);