model/contact.go
@@ -21,6 +21,7 @@ Birthday *CustomTime `json:"birthday" gorm:"column:birthday;type:datetime;comment:生日"` Email string `json:"email" gorm:"column:email;type:varchar(255);comment:邮箱"` Desc string `json:"desc" gorm:"column:desc;type:varchar(255);comment:备注"` CodeStandID string `json:"codeStandID" gorm:"column:code_stand_id;type:varchar(255);comment:编码id"` Address gorm.Model `json:"-"` }