增加引入文件的版本控制更新

This commit is contained in:
2024-03-22 14:07:24 +08:00
parent d37f85876f
commit b34a515178
3 changed files with 36 additions and 29 deletions

View File

@@ -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;
}
}