feat(message_gateway): integrate nikoksr/notify engine and support multi-channel push

This commit is contained in:
ryan
2026-09-02 22:30:59 +08:00
parent 90f3efdd50
commit 7df31befb5
13 changed files with 252 additions and 788 deletions
@@ -344,11 +344,3 @@ func bodyContent(body map[string]any, format, sep string) string {
}
return strings.Join(parts, sep)
}
// bodyLevel returns the upper-cased notification level, falling back to INFO.
func bodyLevel(body map[string]any) string {
if l, ok := body["level"].(string); ok && l != "" {
return strings.ToUpper(l)
}
return levelInfo
}