add Refresh
CI / changes (push) Successful in 6s
CI / docker-bff (push) Successful in 8s
CI / docker-product (push) Failing after 2s

This commit is contained in:
2026-08-10 18:05:29 +08:00
parent 7228d3fedc
commit 9865f7dae9
16 changed files with 390 additions and 245 deletions
+2 -1
View File
@@ -34,7 +34,8 @@ func GetConfigString(key string) string {
}
func GetConfigInt(key string) int {
data := make(map[string]int)
data["base.login_out_time"] = 60 * 24 * 30 //分
data["base.login_out_time"] = 60 * 24 * 30 //分
data["base.login_refresh_out_time"] = 60 * 24 * 30 * 2 //分
return data[key]
}
func GetConfigInt64(key string) int64 { return runViper.GetInt64(key) }