Browse Source

项目改回

whj 4 years ago
parent
commit
3e5603bb32
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Models/Project.php

+ 1 - 1
app/Models/Project.php

xqd
@@ -117,7 +117,7 @@ class Project extends BaseModel
 
     public static function getOptions()
     {
-        return self::where('id', '>', 1)->get()->toArray();
+        return self::get()->toArray();
     }
     public static function getNotOneProjectOptions(){
         return self::where('id','!=',1)->get();