Selaa lähdekoodia

图片记录更改识别列类型

maker 2 vuotta sitten
vanhempi
commit
d1b2de06ed
1 muutettua tiedostoa jossa 6 lisäystä ja 6 poistoa
  1. 6 6
      model/levelMonitor/image_record.go

+ 6 - 6
model/levelMonitor/image_record.go

@@ -15,12 +15,12 @@ type ImageRecord struct {
 	CreateTime  typeManage.LocalTime `json:"create_time"`
 	UpdateTime  typeManage.LocalTime `json:"update_time"`
 	UseNum      int                  `json:"use_num"`  //账号登录成功次数
-	Identify    int                  `json:"identify"` //图片识别的内容
+	Identify    float64              `json:"identify"` //图片识别的内容
 }
 
 type ImageRecordResponse struct {
 	Id          int                  `json:"id"`
-	TaskId      int                  `json:"task_id"`      //任务id
+	TaskId      int                  `json:"task_id"` //任务id
 	User        string               `json:"user"`
 	TaskName    string               `json:"task_name"`
 	Account     string               `json:"account"`      //账号
@@ -31,7 +31,7 @@ type ImageRecordResponse struct {
 	CreateTime  typeManage.LocalTime `json:"create_time"`
 	UpdateTime  typeManage.LocalTime `json:"update_time"`
 	UseNum      int                  `json:"use_num"`  //账号登录成功次数
-	Identify    int                  `json:"identify"` //图片识别的内容
+	Identify    float64              `json:"identify"` //图片识别的内容
 }
 
 func (ImageRecord) TableName() string {
@@ -75,9 +75,9 @@ type ImageRecordStatistics struct {
 
 type ImageRecordStatisticsResponse struct {
 	Id          int     `json:"id"`
-	TaskId      int     `json:"task_id"` //任务id
-	User        string  `json:"user"`	//负责人
-	TaskName    string  `json:"task_name"`	//任务名称
+	TaskId      int     `json:"task_id"`     //任务id
+	User        string  `json:"user"`        //负责人
+	TaskName    string  `json:"task_name"`   //任务名称
 	CreateDate  string  `json:"create_date"` //创建日期
 	Two         float64 `json:"two"`
 	Three       float64 `json:"three"`