浏览代码

fix_day&time

Ethan 1 周之前
父节点
当前提交
60399fee80
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/entity/book_info.go

+ 2 - 2
app/entity/book_info.go

@@ -9,8 +9,8 @@ import (
 type BookInfo struct {
 	BookID            int64     `gorm:"column:book_id;primary_key;AUTO_INCREMENT"` // 探店id
 	TaskID            string    `gorm:"column:task_id;NOT NULL"`                   // 任务id
-	Day               time.Time `gorm:"column:day"`                                // 预计到店日期
-	Time              time.Time `gorm:"column:time"`                               // 预计到店时间
+	Day               string    `gorm:"column:day"`                                // 预计到店日期
+	Time              string    `gorm:"column:time"`                               // 预计到店时间
 	ReviseOpinion     string    `gorm:"column:revise_opinion"`                     // 反馈意见
 	IsSubmit          int64     `gorm:"column:is_submit;NOT NULL"`                 // 是否提交
 	IsReview          int64     `gorm:"column:is_review;default:0;NOT NULL"`       // 是否审核