From 0da4f833b86b57660350e9cfe70c7533f654c5ce Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Tue, 20 May 2025 19:04:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0mongodb=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=EF=BC=8C=E6=B7=BB=E5=8A=A0=E7=94=A8=E6=88=B7=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E7=9A=84=E4=B8=8A=E4=BC=A0=E5=8F=8A=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/userService.go | 1 + 1 file changed, 1 insertion(+) diff --git a/service/userService.go b/service/userService.go index 0584327..6207445 100644 --- a/service/userService.go +++ b/service/userService.go @@ -479,6 +479,7 @@ func SetUserUIConfigInfo(userID int, config proto.UserUIConfigInfo) error { } if userConfig.UserID == 0 { //没有则插入 + config.UserID = userID id, err2 := dao.CreateUserUIConfigInfo(config) if err2 != nil { log.Println("InsertUserUIConfigInfo error:", err)