ChenWuJie 4 years ago
parent
commit
cbc724e0ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Admin/ProjectController.php

+ 1 - 1
app/Http/Controllers/Admin/ProjectController.php

xqd
@@ -46,7 +46,7 @@ class ProjectController extends BaseController
 
     public function get(Request $request)
     {
-        $items = $this->model->orderBy('created_at', 'desc');
+        $items = $this->model->orderBy('created_at', 'desc')->where('id','!=','1');
 
         $tmp_items = collect(['name']);
         foreach($tmp_items as $tmp_item) {