diff --git a/cmd/internal/dao/artistInfo_user.go b/cmd/internal/dao/artistInfo_user.go index 818a26b..0a03678 100644 --- a/cmd/internal/dao/artistInfo_user.go +++ b/cmd/internal/dao/artistInfo_user.go @@ -764,9 +764,6 @@ func UpdateUserData(req *artistInfoUser.UserInfo) (rep *artistInfoUser.CommonNoP if req.RealName.IdNum != "" { realName.IdNum = req.RealName.IdNum } - // if req.RealName.TelNum != "" { - // realName.TelNum = req.RealName.TelNum - // } if req.RealName.IdCardFront != "" { realName.IdCardFront = req.RealName.IdCardFront } diff --git a/cmd/internal/dao/artistinfo_statement.go b/cmd/internal/dao/artistinfo_statement.go index f5a43be..f310dd8 100644 --- a/cmd/internal/dao/artistinfo_statement.go +++ b/cmd/internal/dao/artistinfo_statement.go @@ -3,8 +3,6 @@ package dao // import ( // "github.com/fonchain/fonchain-artistinfo/cmd/model" // "github.com/fonchain/fonchain-artistinfo/pb/artistinfoStatement" -// db "github.com/fonchain/fonchain-artistinfo/pkg/db" -// "gorm.io/gorm/clause" // ) // ===================================== diff --git a/cmd/model/user.go b/cmd/model/user.go index ec2786d..050031b 100644 --- a/cmd/model/user.go +++ b/cmd/model/user.go @@ -34,7 +34,7 @@ type User struct { Htmltype string `gorm:"html_type" json:"htmltype"` Envtype string `gorm:"env_type" json:"envtype"` - OldMgmtId int64 `gorm:"column:old_mgmt_id,comment:老管理系统用户id;"` + OldMgmtId int64 `gorm:"column:old_mgmt_id;comment:老管理系统用户id;"` //IsFdd int64 `gorm:"column:is_fdd;not null;comment:"` //Account string `gorm:"type:varchar(256) not null"` //Name string `gorm:"type:varchar(20) not null"`