mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-25 10:16:12 +08:00
fix(notify): message add medium tag (#20421)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
This commit is contained in:
@@ -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"`
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user