实名表不需要手机号

This commit is contained in:
徐俊杰 2023-03-21 13:56:35 +08:00
parent c8696a969f
commit dfe218e1a0
2 changed files with 10 additions and 3 deletions

View File

@ -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"`

View File

@ -0,0 +1,7 @@
package controller
type AutoMergeOldData struct{}
func (AutoMergeOldData) Run() {
}