未验证 提交 263c7547 编写于 作者: M MZZZ 提交者: GitHub

Update viper.go

core/viper.go:61:95: syntax error: unexpected newline, expecting comma or )
上级 dbe88fea
......@@ -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
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册