feat: support background_color background_image_url

This commit is contained in:
line-6000
2026-05-11 16:03:32 +08:00
parent 84972ea0f0
commit 1c805ed061
178 changed files with 278 additions and 242 deletions
+8
View File
@@ -184,6 +184,14 @@ func GetBrandSupportURL() string {
return strings.TrimSpace(GetSettingString(mdb.SettingKeyBrandSupportUrl, ""))
}
func GetBrandBackgroundColor() string {
return strings.TrimSpace(GetSettingString(mdb.SettingKeyBrandBackgroundColor, ""))
}
func GetBrandBackgroundImageURL() string {
return strings.TrimSpace(GetSettingString(mdb.SettingKeyBrandBackgroundImageUrl, ""))
}
// OkPay settings helpers keep the provider-specific defaults in one place so
// business logic does not need to repeat raw settings keys.
func GetOkPayEnabled() bool {