From 62a0f203ce900f6a6306896cd1435277fddd63a6 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 17 Dec 2024 19:01:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/implement/user_implement.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/implement/user_implement.go b/src/implement/user_implement.go index a3b9ce2..e0425dc 100644 --- a/src/implement/user_implement.go +++ b/src/implement/user_implement.go @@ -48,7 +48,7 @@ func (u UserDb) UserInsert(m *model.User) (int64, error) { func (u UserDb) GetUserByInviteCode(inviteCode string) (m *model.User, err error) { m = new(model.User) - has, err := u.Db.Where("invite_code =?", inviteCode).Get(m) + has, err := u.Db.Where("system_invite_code =?", inviteCode).Get(m) if err != nil { return nil, zhios_order_relate_logx.Error(err) }