fix(notify): message add medium tag (#20421)

Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
This commit is contained in:
gouqi11
2024-05-31 10:39:20 +08:00
committed by GitHub
co-authored by 马鸿飞
parent 12668a71cb
commit 5de92baa9d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ type SEvent struct {
// 资源创建时间
CreatedAt time.Time `nullable:"false" created_at:"true" index:"true" get:"user" list:"user" json:"created_at"`
Message string
Message string `length:"medium"`
Event string `width:"64" nullable:"true"`
ResourceType string `width:"64" nullable:"true"`
Action string `width:"64" nullable:"true"`
+1 -1
View File
@@ -55,7 +55,7 @@ type SNotificationGroup struct {
GroupKey string `width:"128" nullable:"false" create:"required" list:"user" get:"user"`
Title string
// swagger:ignore
Message string
Message string `length:"medium"`
ReceiverId string `width:"128" nullable:"false" create:"required" list:"user" get:"user"`
Body jsonutils.JSONObject
Header jsonutils.JSONObject