diff --git a/internal/model/register.go b/internal/model/register.go index 3babb7b..2011659 100644 --- a/internal/model/register.go +++ b/internal/model/register.go @@ -10,7 +10,7 @@ type RegisterRecord struct { Gender int32 `json:"gender" gorm:"column:gender;type:int;comment:性别1男2女"` PhoneNum string `json:"phone_num" gorm:"column:phone_num;type:varchar(255);not null;comment:手机号"` IdCard string `json:"id_card" gorm:"column:id_card;type:varchar(255);not null;comment:身份证号"` - Address string `json:"address" gorm:"column:address;type:varchar(1000);not null;comment:通讯地址"` + Address string `json:"address" gorm:"column:address;type:varchar(3000);not null;comment:通讯地址"` Address1 string `json:"address1" gorm:"column:address1;type:varchar(1000);not null;comment:详细地址"` IdCardPhoto string `json:"id_card_photo" gorm:"column:id_card_photo;type:varchar(1000);not null;comment:身份证照片"` IdCardBackPhoto string `json:"id_card_back_photo" gorm:"column:id_card_back_photo;type:varchar(1000);not null;comment:身份证照片背面"`