admin add edit status password items info
CI / changes (push) Successful in 2s
CI / docker-bff (push) Successful in 2s
CI / docker-product (push) Failing after 1s

This commit is contained in:
2026-08-08 16:06:36 +08:00
parent 29ffc24bbb
commit 38a8a5cafb
30 changed files with 655 additions and 579 deletions
+5 -1
View File
@@ -32,7 +32,11 @@ func GetConfigString(key string) string {
data["encrypt_key"] = "M17fcaPeHDr05H17fcaPH1deDH17l3Bd"
return data[key]
}
func GetConfigInt(key string) int { return runViper.GetInt(key) }
func GetConfigInt(key string) int {
data := make(map[string]int)
data["base.login_out_time"] = 86400
return data[key]
}
func GetConfigInt64(key string) int64 { return runViper.GetInt64(key) }
func GetConfigBool(key string) bool { return runViper.GetBool(key) }