diff --git a/cmd/model/real_name.go b/cmd/model/real_name.go index 06ef09c..8aae1b5 100644 --- a/cmd/model/real_name.go +++ b/cmd/model/real_name.go @@ -3,9 +3,9 @@ package model // 实名认证模型 type RealName struct { Model - Name string `gorm:"not null"` - IdNum string `gorm:"type:varchar(18) not null"` - TelNum string `gorm:"type:varchar(11) not null"` + Name string `gorm:"not null"` + IdNum string `gorm:"type:varchar(18) not null"` + // TelNum string `gorm:"type:varchar(11) not null"` IdCardFront string `gorm:"column:idcard_front;comment:身份证正面"` IdCardBack string `gorm:"column:idcard_back;comment:身份证反面"` Age int `gorm:"column:age"` diff --git a/script/artistinfo_user_sync.go b/script/artistinfo_user_sync.go new file mode 100644 index 0000000..c414696 --- /dev/null +++ b/script/artistinfo_user_sync.go @@ -0,0 +1,7 @@ +package controller + +type AutoMergeOldData struct{} + +func (AutoMergeOldData) Run() { + +}