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->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();
|
||||
}
|
||||
|
||||
@@ -2,4 +2,3 @@
|
||||
<!-- 底部固定区域 -->
|
||||
© layui.com - 底部固定区域
|
||||
</div>
|
||||
{:get_system_config('site_tongji')}
|
||||
@@ -17,4 +17,5 @@
|
||||
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 http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>{:get_system_config('site_name')}</title>
|
||||
{:get_system_config('site_tongji')}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -24,6 +25,8 @@
|
||||
$('#README-PRE').html(result)
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user