mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
添加统计代码
This commit is contained in:
@@ -30,7 +30,7 @@ class CreateTableSystemConfig extends Migrator
|
|||||||
{
|
{
|
||||||
$table = $this->table('system_config',['comment'=>'系统配置表']);
|
$table = $this->table('system_config',['comment'=>'系统配置表']);
|
||||||
$table->addColumn('name','string',['limit'=>30,'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->addIndex('name');
|
||||||
$table->save();
|
$table->save();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,4 +2,3 @@
|
|||||||
<!-- 底部固定区域 -->
|
<!-- 底部固定区域 -->
|
||||||
© layui.com - 底部固定区域
|
© layui.com - 底部固定区域
|
||||||
</div>
|
</div>
|
||||||
{:get_system_config('site_tongji')}
|
|
||||||
@@ -17,4 +17,5 @@
|
|||||||
var element = layui.element;
|
var element = layui.element;
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
{:get_system_config('site_tongji')}
|
||||||
@@ -6,6 +6,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
<title>{:get_system_config('site_name')}</title>
|
<title>{:get_system_config('site_name')}</title>
|
||||||
|
{:get_system_config('site_tongji')}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@@ -24,6 +25,8 @@
|
|||||||
$('#README-PRE').html(result)
|
$('#README-PRE').html(result)
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user