diff --git a/database/migrations/20190822043653_create_table_system_config.php b/database/migrations/20190822043653_create_table_system_config.php index cc69500..8b45fce 100644 --- a/database/migrations/20190822043653_create_table_system_config.php +++ b/database/migrations/20190822043653_create_table_system_config.php @@ -30,7 +30,7 @@ class CreateTableSystemConfig extends Migrator { $table = $this->table('system_config',['comment'=>'系统配置表']); $table->addColumn('name','string',['limit'=>30,'comment'=>'配置名称']); - $table->addColumn('value','string',['limit'=>200,'comment'=>'值']); + $table->addColumn('value','string',['limit'=>500,'comment'=>'值']); $table->addIndex('name'); $table->save(); } diff --git a/view/admin/common/_footer.html b/view/admin/common/_footer.html index d376e97..2215dc1 100644 --- a/view/admin/common/_footer.html +++ b/view/admin/common/_footer.html @@ -2,4 +2,3 @@ © layui.com - 底部固定区域 -{:get_system_config('site_tongji')} \ No newline at end of file diff --git a/view/admin/common/_require.html b/view/admin/common/_require.html index 3c5a727..1fb6346 100644 --- a/view/admin/common/_require.html +++ b/view/admin/common/_require.html @@ -17,4 +17,5 @@ var element = layui.element; }); - \ No newline at end of file + +{:get_system_config('site_tongji')} \ No newline at end of file diff --git a/view/index/index/index.html b/view/index/index/index.html index b2408c5..eaba9f2 100644 --- a/view/index/index/index.html +++ b/view/index/index/index.html @@ -6,6 +6,7 @@