xyxie 2 ngày trước cách đây
mục cha
commit
db295f6956
2 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 2 0
      controllers/report_ice_message.go
  2. 2 0
      models/report_message_config.go

+ 2 - 0
controllers/report_ice_message.go

@@ -444,6 +444,8 @@ func (c *ReportIceMessageController) IceMsgPush() {
 				CreateTime: time.Now(),
 				ModifyTime: time.Now(),
 				TaskId: taskId,
+				Content: content,
+				Url: url,
 			}
 			recordList = append(recordList, pushRecord)
 		}

+ 2 - 0
models/report_message_config.go

@@ -130,6 +130,8 @@ type ReportMessageRecord struct {
 	TaskId         string    `gorm:"column:task_id" description:"任务ID"`
 	CreateTime     time.Time `gorm:"column:create_time" description:"创建时间"`
 	ModifyTime     time.Time `gorm:"column:modify_time" description:"修改时间"`
+	Content        string    `gorm:"column:content" description:"消息内容"`
+	Url            string    `gorm:"column:url" description:"消息URL"`
 }
 
 type ReportIceMsgRecordListItem struct {