mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 20:58:14 -05:00
61e755d2b9
* implement notification group * some fixes * fix sql * add listNotification * retrieve notification from map * create notification_group_notification if non-exist * NotificationIDToGroup -> NotificationIDToGroups * clean
12 lines
289 B
Go
12 lines
289 B
Go
package model
|
|
|
|
type NotificationGroupForm struct {
|
|
Name string `json:"name"`
|
|
Notifications []uint64 `json:"notifications"`
|
|
}
|
|
|
|
type NotificationGroupResponseItem struct {
|
|
Group NotificationGroup `json:"group"`
|
|
Notifications []uint64 `json:"notifications"`
|
|
}
|