14 lines
295 B
Go
14 lines
295 B
Go
package systemSettingCache
|
|
|
|
import (
|
|
"sun-panel/global"
|
|
"sun-panel/lib/cmn/systemSetting"
|
|
"time"
|
|
)
|
|
|
|
func InItSystemSettingCache() *systemSetting.SystemSettingCache {
|
|
return &systemSetting.SystemSettingCache{
|
|
Cache: global.NewCache[interface{}](5*time.Hour, -1, "systemSettingCache"),
|
|
}
|
|
}
|