Update ConfigService.php

This commit is contained in:
wolfcode
2023-06-20 15:57:11 +08:00
parent aa24e8321c
commit c243f88e9b

View File

@@ -9,7 +9,7 @@ class ConfigService
public static function getVersion()
{
$version = Cache('version');
$version = cache('version');
if (empty($version)) {
$version = sysconfig('site', 'site_version');
cache('site_version', $version);