mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-07 10:32:48 +08:00
增加引入文件的版本控制更新
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user