| 12345678910111213141516171819202122 |
- package levelMonitor
- import "log-server/model/typeManage"
- type ImageRecord struct {
- Id int `json:"id"`
- TaskId int `json:"task_id"` //任务id
- Account string `json:"account"` //账号
- ImageBase64 string `json:"image_base64"` //图片base64文本
- Status int `json:"status"` //识别状态, 成功为1, 失败-1, 默认为2未识别
- Result string `json:"result"` //识别结果
- CreateDate string `json:"create_date"` //创建日期
- CreateTime typeManage.LocalTime `json:"create_time"`
- UpdateTime typeManage.LocalTime `json:"update_time"`
- UseNum int `json:"use_num"` //账号登录成功次数
- Identify int `json:"identify"` //图片识别的内容
- }
- func (ImageRecord) TableName() string {
- return "image_record"
- }
|