This commit is contained in:
张超
2025-05-27 19:01:05 +08:00
parent f02495cc7a
commit 5ffc64e1dd
16 changed files with 512 additions and 123 deletions

View File

@@ -132,3 +132,9 @@ func GetCurrentTheme() string {
}
func SetCurrentTheme(theme string) {
}
// GetJWTSecret 获取 JWT 密钥
func (c *Config) GetJWTSecret() string {
//return c.JWT.Secret
return c.Security.JWTSecret
}