ChenWuJie 4 gadi atpakaļ
vecāks
revīzija
69bae0052f

+ 1 - 1
app/Http/Controllers/Api/mini/WorkPointController.php

xqd
@@ -24,7 +24,7 @@ class WorkPointController extends BaseController
     {
         $items = $this->model;
         if($request->input('project_id')) {
-            $items = $items->where('project_id', $request->input('project_id'));
+            $items = $items->where('project_id', $request->input('project_id'))->where('status',1);
         }
 
         if($request->input('type') == 'drop_menu') {