feat: add global background image setting to config page

This commit is contained in:
sagitchu
2026-04-05 18:31:59 +08:00
parent 901b903a70
commit 2caafab937
3 changed files with 125 additions and 93 deletions
+1 -1
View File
@@ -963,7 +963,7 @@ func (h *Handler) updateSingleConfig(w http.ResponseWriter, r *http.Request) {
return
}
if value == "" && name != "app_logo" && name != "app_favicon" {
if value == "" && name != "app_logo" && name != "app_favicon" && name != "app_bg_image" {
response.WriteJSON(w, response.ErrDefault("配置值不能为空"))
return
}