From 3ea0953151c823a378ae095892613a6da7b4e8c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E9=B8=BF=E9=A3=9E?= Date: Wed, 30 Aug 2023 18:49:26 +0800 Subject: [PATCH] fix(notify): support list group_key,group_list --- pkg/notify/models/topic.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/notify/models/topic.go b/pkg/notify/models/topic.go index 25cb88a83e..7139d0f9b1 100644 --- a/pkg/notify/models/topic.go +++ b/pkg/notify/models/topic.go @@ -81,8 +81,8 @@ type STopic struct { TitleEn string `length:"medium" nullable:"true" charset:"utf8" list:"user" update:"user" create:"optional"` ContentCn string `length:"medium" nullable:"true" charset:"utf8" list:"user" update:"user" create:"optional"` ContentEn string `length:"medium" nullable:"true" charset:"utf8" list:"user" update:"user" create:"optional"` - GroupKeys *api.STopicGroupKeys `nullable:"true"` - GroupTimes uint32 `nullable:"true"` + GroupKeys *api.STopicGroupKeys `nullable:"true" list:"user" update:"user"` + GroupTimes uint32 `nullable:"true" list:"user" update:"user"` AdvanceDays []int `nullable:"true" charset:"utf8" list:"user" update:"user" create:"optional"` WebconsoleDisable tristate.TriState