implement notification group (#450)

* implement notification group

* some fixes

* fix sql

* add listNotification

* retrieve notification from map

* create notification_group_notification if non-exist

* NotificationIDToGroup -> NotificationIDToGroups

* clean
This commit is contained in:
UUBulb authored and GitHub committed 2024-10-23 21:55:12 +08:00
1 parent c333f350c0
commit 28b606ef7b
18 files changed
+666 -180

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package model
type NotificationGroupForm struct {
Name string `json:"name"`
Notifications []uint64 `json:"notifications"`
}
type NotificationGroupResponseItem struct {
Group NotificationGroup `json:"group"`
Notifications []uint64 `json:"notifications"`
}