mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
feat(notify): filter notification by topic_type
之前的模型,消息和Event是一一对应的,一个Event可以和多个Topic对应, 为了支持通过Topic Type过滤消息,现在Event和Topic是一一对应的。
This commit is contained in:
@@ -89,6 +89,7 @@ func init() {
|
||||
|
||||
ContactType string `help:"contact_type"`
|
||||
ReceiverId string `help:"receiver_id"`
|
||||
TopicType string `help:"topic type"`
|
||||
}
|
||||
R(&NotificationListInput{}, "notify-list", "List notify message", func(s *mcclient.ClientSession, args *NotificationListInput) error {
|
||||
params, err := options.ListStructToParams(args)
|
||||
|
||||
Reference in New Issue
Block a user