haozhifeng
2021-07-01 9405599d67492ef207e2bb242cd116f019b861f6
新增轮询开始时间结束时间字段
1个文件已修改
2 ■■■■■ 已修改文件
scheduleLog.go 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scheduleLog.go
@@ -10,6 +10,8 @@
    Level     int    `gorm:"column:level" json:"level"`       // 日志等级
    Type      int    `gorm:"column:type" json:"type"`         // 操作类型:人工操作,登录退出,轮循摄像机及对应算法,数据栈处理情况,异常情况等
    Info      string `gorm:"column:info" json:"info"`         // 详情
    ScheduleStartTime string  `gorm:"column:schedule_start_time" json:"schedule_start_time"`                   // 时间戳Unix time
    ScheduleEndTime string  `gorm:"column:schedule_end_time" json:"schedule_end_time"`                   // 时间戳Unix time
}
func (l * ScheduleLog)Marshal()([]byte, error) {