From 70815c0d5060354d5a054b3409773491551653e4 Mon Sep 17 00:00:00 2001 From: Chang lue Tsen Date: Thu, 21 Aug 2025 09:15:37 -0400 Subject: [PATCH] fix(log): remove unused Id field from SystemLog during login log insertion --- internal/logic/auth/userLoginLogic.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/logic/auth/userLoginLogic.go b/internal/logic/auth/userLoginLogic.go index 7976a47..71bee26 100644 --- a/internal/logic/auth/userLoginLogic.go +++ b/internal/logic/auth/userLoginLogic.go @@ -49,7 +49,6 @@ func (l *UserLoginLogic) UserLogin(req *types.UserLoginRequest) (resp *types.Log } content, _ := loginLog.Marshal() if err := l.svcCtx.LogModel.Insert(l.ctx, &log.SystemLog{ - Id: 0, Type: log.TypeLogin.Uint8(), Date: time.Now().Format("2006-01-02"), ObjectID: userInfo.Id,