fix(log): update timestamp handling in login and registration logs

This commit is contained in:
Chang lue Tsen
2025-09-02 14:12:06 -04:00
parent d578dca17e
commit fe629e59dd
8 changed files with 8 additions and 1 deletions
@@ -495,6 +495,7 @@ func (l *OAuthLoginGetTokenLogic) recordLoginStatus(loginStatus bool, userInfo *
LoginIP: ip,
UserAgent: userAgent,
Success: loginStatus,
Timestamp: time.Now().UnixMilli(),
}
content, _ := loginLog.Marshal()
if err := l.svcCtx.LogModel.Insert(l.ctx, &log.SystemLog{