From 9ecb04c98b082cc92db26eacc7c63d0d1d3a2ea4 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Wed, 30 Aug 2023 10:54:55 +0800 Subject: [PATCH] fix --- shared/shared_state.go | 1 - 1 file changed, 1 deletion(-) diff --git a/shared/shared_state.go b/shared/shared_state.go index 9ce2adb1..85b6c45e 100644 --- a/shared/shared_state.go +++ b/shared/shared_state.go @@ -21,7 +21,6 @@ func GetUserState(UserId int64, gdb *gorm.DB) (us *UserState, err error) { models := gmodel.NewAllModels(gdb) user, err := models.FsUser.FindUserById(context.TODO(), UserId) if err != nil { - log.Println(err) return nil, err }