Commit 400b66a0d8c26e17a878950943e4000a66e46cb3
1 parent
8f92703f
Exists in
master
app-ht(v0.0.1 build 1)
1. F 清除无关配置信息
Showing
2 changed files
with
7 additions
and
25 deletions
Show diff stats
app-ht/config/main.php
@@ -11,45 +11,27 @@ $params = array_merge( | @@ -11,45 +11,27 @@ $params = array_merge( | ||
11 | ); | 11 | ); |
12 | 12 | ||
13 | $config = [ | 13 | $config = [ |
14 | - 'id' => 'kingboard-ht', | ||
15 | - 'name' => 'OTA:管理后台', | 14 | + 'id' => 'gk-auto-ht', |
15 | + 'name' => 'GK车管家:管理后台', | ||
16 | 'basePath' => dirname(__DIR__), | 16 | 'basePath' => dirname(__DIR__), |
17 | 'language' => 'zh-CN', | 17 | 'language' => 'zh-CN', |
18 | 'controllerNamespace' => 'app\ht\controllers', | 18 | 'controllerNamespace' => 'app\ht\controllers', |
19 | 'runtimePath' => Yii::getAlias('@rootRuntime').'/app-ht/', | 19 | 'runtimePath' => Yii::getAlias('@rootRuntime').'/app-ht/', |
20 | 'bootstrap' => ['log'], | 20 | 'bootstrap' => ['log'], |
21 | 'modules' => [ | 21 | 'modules' => [ |
22 | - 'manufacturer'=>[ | ||
23 | - 'class' => 'app\ht\modules\manufacturer\Module', | ||
24 | - ], | ||
25 | - 'device' => [ | ||
26 | - 'class' => 'app\ht\modules\device\Module', | ||
27 | - ], | 22 | + |
28 | 'system'=>[ | 23 | 'system'=>[ |
29 | 'class' => 'app\ht\modules\system\Module', | 24 | 'class' => 'app\ht\modules\system\Module', |
30 | ], | 25 | ], |
31 | - 'upgrade'=>[ | ||
32 | - 'class' => 'app\ht\modules\upgrade\Module', | ||
33 | - ], | 26 | + |
34 | 'my'=>[ | 27 | 'my'=>[ |
35 | 'class' => 'app\ht\modules\my\Module', | 28 | 'class' => 'app\ht\modules\my\Module', |
36 | ], | 29 | ], |
37 | - 'project' => [ | ||
38 | - 'class' => 'app\ht\modules\project\Module', | ||
39 | - ], | ||
40 | - 'model' => [ | ||
41 | - 'class' => 'app\ht\modules\model\Module', | ||
42 | - ], | 30 | + |
43 | 'home' => [ | 31 | 'home' => [ |
44 | 'class' => 'app\ht\modules\home\Module', | 32 | 'class' => 'app\ht\modules\home\Module', |
45 | ], | 33 | ], |
46 | - 'production' => [ | ||
47 | - 'class' => 'app\ht\modules\production\Module', | ||
48 | - ] | ||
49 | - , | ||
50 | - 'datas' => [ | ||
51 | - 'class' => 'app\ht\modules\datas\Module', | ||
52 | - ] | 34 | + |
53 | ], | 35 | ], |
54 | 'components' => [ | 36 | 'components' => [ |
55 | 'user' => [ | 37 | 'user' => [ |