diff --git a/business/model/legacymodel/jxbadcomments.go b/business/model/legacymodel/jxbadcomments.go index e63ea63ba..230167655 100644 --- a/business/model/legacymodel/jxbadcomments.go +++ b/business/model/legacymodel/jxbadcomments.go @@ -4,7 +4,7 @@ import "time" type JxBadComments struct { Id int `json:"id" orm:"column(id)"` - CreatedAt time.Time `orm:"auto_now_add;type(datetime)" json:"createdAt"` + CreatedAt time.Time `orm:"auto_now_add;type(datetime);null" json:"createdAt"` OrderId string `json:"order_id" orm:"column(order_id);size(25);unique" description:"订单ID"` Jxstoreid string `json:"jxstoreid" orm:"column(jxstoreid);size(11);index" description:"京西门店ID"` Userphone string `json:"userPhone" orm:"column(userphone);size(255);null" description:"评价的用户的联系方式"`