diff --git a/extend/base/admin/view/common/_require.html b/extend/base/admin/view/common/_require.html index 91fefdf..042e2d3 100644 --- a/extend/base/admin/view/common/_require.html +++ b/extend/base/admin/view/common/_require.html @@ -5,39 +5,39 @@ {:event_view_content('AdminLayoutRequireBefore')} - - + + - - - - + + + + - - + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - + + + + + + {:event_view_content('AdminLayoutRequireAfter')} \ No newline at end of file diff --git a/extend/base/common/command/admin/VersionBase.php b/extend/base/common/command/admin/VersionBase.php index 21976fd..2e8adf0 100644 --- a/extend/base/common/command/admin/VersionBase.php +++ b/extend/base/common/command/admin/VersionBase.php @@ -12,12 +12,12 @@ use think\console\Output; class VersionBase extends Command { - public const VERSION = 'v2.0.90'; + public const VERSION = 'v2.0.91'; public const LAYUI_VERSION = '2.8.17'; public const COMMENT = [ - '将js统计加入到后台中', + '增加引入文件的版本控制更新', '发布新版本', ]; diff --git a/extend/base/helper.php b/extend/base/helper.php index 4ac6d9b..10de445 100644 --- a/extend/base/helper.php +++ b/extend/base/helper.php @@ -2,6 +2,7 @@ // 应用公共文件 +use app\common\command\admin\Version; use app\common\exception\EventException; use app\common\service\AuthService; use app\common\tools\StoreValueTools; @@ -360,3 +361,9 @@ function set_store_value($key, $value) { return StoreValueTools::set($key, $value); } +if (!function_exists('get_site_version_key')) { + function get_site_version_key() + { + return sysconfig('site', 'site_version') . '-' . Version::VERSION . '-' . Version::LAYUI_VERSION; + } +}