From 09a9f18a6e7959301b5bfe10cb5cb50b3d6145c3 Mon Sep 17 00:00:00 2001 From: workabee <2950914812@qq.com> Date: Tue, 10 Sep 2024 18:48:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/model/register.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/model/register.go b/internal/model/register.go index 0d6cdce..3babb7b 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:text;not null;comment:通讯地址"` + Address string `json:"address" gorm:"column:address;type:varchar(1000);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:身份证照片背面"`