package models import "basic.com/valib/logc.git" type OperationLog logc.OperationLog type OperationQuery struct { TimeStart string `json:"timeStart" example:"2020-01-02 15:04:05"` //开始时间,不传为结束时间前一个小时 TimeEnd string `json:"timeEnd" example:"2020-01-02 16:00:00"` //结束时间,不传为当前时间 Module string `json:"module" example:"pollcontrol"` //模块名字 Function string `json:"function" example:"addCamera"` //功能 Result string `json:"result" example:"2"` //操作结果 FuzzySearch string `json:"fuzzySearch" example:"hasfkll-12348nzsf2-1248njzlsud"` // 模糊查询 Page int `json:"page" example:"2"` //操作结果 PageSize int `json:"pageSize" example:"hasfkll-12348nzsf2-1248njzlsud"` // 模糊查询 } func (OperationLog) TableName() string { return "t_op_log" }