From 9a7912b28af79b0334439e6294234abf2e9dd545 Mon Sep 17 00:00:00 2001 From: jjxu <428192774@qq.com> Date: Tue, 4 Apr 2023 08:54:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E6=AE=B5gorm?= =?UTF-8?q?=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/model/view_user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/model/view_user.go b/cmd/model/view_user.go index 2a0bdc5..c3973e2 100644 --- a/cmd/model/view_user.go +++ b/cmd/model/view_user.go @@ -34,7 +34,7 @@ type UserView struct { 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:邀请人的真实姓名"` + InviterRealName string `json:"inviterRealName" gorm:"column:inviter_real_name;comment:邀请人的真实姓名"` CreatedAt time.Time `json:"createdAt" gorm:"column:created_at;comment:"` UpdatedAt time.Time `json:"updatedAt" gorm:"column:updated_at;comment:"` DeletedAt int64 `json:"deletedAt" gorm:"column:deleted_at;comment:"`