mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
完成自动缓存和缓存清理;
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user