正在显示
2 个修改的文件
包含
1 行增加
和
2 行删除
@@ -88,7 +88,7 @@ class Api extends Command | @@ -88,7 +88,7 @@ class Api extends Command | ||
88 | ); | 88 | ); |
89 | 89 | ||
90 | foreach ($files as $name => $file) { | 90 | foreach ($files as $name => $file) { |
91 | - if (!$file->isDir()) { | 91 | + if (!$file->isDir() && $file->getExtension() == 'php') { |
92 | $filePath = $file->getRealPath(); | 92 | $filePath = $file->getRealPath(); |
93 | $classes[] = $this->get_class_from_file($filePath); | 93 | $classes[] = $this->get_class_from_file($filePath); |
94 | } | 94 | } |
@@ -10,7 +10,6 @@ | @@ -10,7 +10,6 @@ | ||
10 | "bootstrap": "^3.3.7", | 10 | "bootstrap": "^3.3.7", |
11 | "font-awesome": "^4.6.1", | 11 | "font-awesome": "^4.6.1", |
12 | "bootstrap-table": "~1.11.0", | 12 | "bootstrap-table": "~1.11.0", |
13 | - "layer": "^3.0", | ||
14 | "jstree": "~3.3.2", | 13 | "jstree": "~3.3.2", |
15 | "moment": "~2.15.2", | 14 | "moment": "~2.15.2", |
16 | "plupload": "~2.2.0", | 15 | "plupload": "~2.2.0", |
-
请 注册 或 登录 后发表评论