完成自动缓存和缓存清理;

This commit is contained in:
2022-02-13 12:44:17 +08:00
parent bc828f73e0
commit c4ac0764b9
5 changed files with 9 additions and 6 deletions

View File

@@ -57,6 +57,7 @@ function get_system_config($name = '', $default = '')
try {
$list = SystemConfig::column('value', 'name');
Cache::set('system_config',$list);
} catch (\Throwable $th) {
return $default;
}