feat: enhance redis and production IA

This commit is contained in:
Logan.Li committed 2026-07-07 10:39:33 +08:00
1 parent 644981eef4
commit 58bbc394e9
76 files changed
+1702 -721

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ func UpdateUserPreferences(c *gin.Context) {
// GET /api/v1/public/login-style (no auth required)
func GetPublicLoginStyle(c *gin.Context) {
style := "split"
theme := "dark"
theme := "system"
var s model.SystemSetting
if model.DB.Where("`key` = ?", "login_style").Take(&s).Error == nil && s.Value != "" {