From e78ba7e2ee25a4126911a07a8b8a56ef451deee7 Mon Sep 17 00:00:00 2001 From: songzhibin97 <718428482@qq.com> Date: Wed, 15 Sep 2021 17:42:28 +0800 Subject: [PATCH] fix:stype --- server/core/viper.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/core/viper.go b/server/core/viper.go index 60ce695a..bfd2d70a 100644 --- a/server/core/viper.go +++ b/server/core/viper.go @@ -58,7 +58,7 @@ func Viper(path ...string) *viper.Viper { } global.GVA_CONFIG.AutoCode.Root, _ = filepath.Abs("..") global.BlackCache = local_cache.NewCache( - local_cache.SetDefaultExpire(time.Second * time.Duration(global.GVA_CONFIG.JWT.ExpiresTime)) - ) + local_cache.SetDefaultExpire(time.Second * time.Duration(global.GVA_CONFIG.JWT.ExpiresTime)), + ) return v }