From 9c08d852ebd49f03a45653996dffc01dcdd0c685 Mon Sep 17 00:00:00 2001 From: dorlolo <428192774@qq.com> Date: Mon, 13 Mar 2023 17:09:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/model/view_user.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/model/view_user.go b/cmd/model/view_user.go index d05efc5..954379a 100644 --- a/cmd/model/view_user.go +++ b/cmd/model/view_user.go @@ -21,7 +21,7 @@ type UserView struct { Photo string `json:"photo" gorm:"column:photo;comment:个人近照"` IsRealName int64 `json:"isRealName" gorm:"column:is_real_name;comment:是否实名认证"` FddState int64 `json:"fddState" gorm:"column:fdd_state;comment:法大大状态"` - IsRead int64 `json:"is_read" gorm:"column:is_read;comment:是否已读 0未读 1已读"` + IsRead int64 `json:"isRead" gorm:"column:is_read;comment:是否已读 0未读 1已读"` IsLock bool `json:"isLock" gorm:"column:is_lock;comment:是否锁定"` LatestLockTime string `json:"latestLockTime" gorm:"column:latest_lock_time;comment:"` RealName string `json:"realName" gorm:"column:real_name;comment:真实姓名"` @@ -30,7 +30,7 @@ type UserView struct { Age int64 `json:"age" gorm:"column:age;comment:年龄"` RealAddress string `json:"address" gorm:"column:real_address;comment:真实地址"` IdcardBack string `json:"idcardBack" gorm:"column:idcard_back;comment:身份证背面"` - IdcardFront string `json:"idcard_front" gorm:"column:idcard_front;comment:身份证反面"` + IdcardFront string `json:"idcardFront" gorm:"column:idcard_front;comment:身份证反面"` JoinAssoTime string `json:"joinAssoTime" gorm:"column:join_asso_time;comment:入会时间"` InviterInviteCode string `json:"inviterInviteCode" gorm:"column:inviter_invite_code;comment:邀请人的邀请码"` InviterRealName string `json:"inviterRealName" gorm:"column:inviter_name;comment:邀请人的真实姓名"` @@ -39,9 +39,9 @@ type UserView struct { DeletedAt int64 `json:"deletedAt" gorm:"column:deleted_at;comment:"` CertificateNum string `json:"certificateNum" gorm:"column:certificate_num;comment:"` CertificateImg string `json:"certificateImg" gorm:"column:certificate_img;comment:"` - BankName string `json:"bank_name" gorm:"column:bank_name;comment:"` - BankNum string `json:"bank_num" gorm:"column:bank_num;comment:"` - WxAccount string `json:"wx_account" gorm:"column:wx_account;comment:企业微信账号"` + BankName string `json:"bankName" gorm:"column:bank_name;comment:"` + BankNum string `json:"bankNum" gorm:"column:bank_num;comment:"` + WxAccount string `json:"wxAccount" gorm:"column:wx_account;comment:企业微信账号"` } func (u UserView) TableName() string {