vaSystemLog.go
@@ -9,7 +9,8 @@ ProcID string `gorm:"column:procID" json:"procID"` // 进程pid Level int `gorm:"column:level" json:"level"` // 日志等级 Info string `gorm:"column:info" json:"info"` // 详情 Timestamp int64 `gorm:"column:timestamp" json:"timestamp"` // 时间戳Unix time Timestamp int64 `gorm:"column:timestamp" json:"timestamp"` // 时间戳 CreateDate string `gorm:"column:createDate" json:"createDate"` // 创建时间 } func (v *VaSystemLog) Marshal() ([]byte, error) {