From ac14c74e8ac0d3ee7b01a6c20ae3f2ee8f8d4fe5 Mon Sep 17 00:00:00 2001 From: augushong Date: Fri, 23 Aug 2019 15:44:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=BB=9F=E8=AE=A1=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migrations/20190822043653_create_table_system_config.php | 2 +- view/admin/common/_footer.html | 1 - view/admin/common/_require.html | 3 ++- view/index/index/index.html | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-) 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 @@ {:get_system_config('site_name')} + {:get_system_config('site_tongji')} @@ -24,6 +25,8 @@ $('#README-PRE').html(result) + + \ No newline at end of file