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
@@ -163,6 +163,7 @@ func (l *TelephoneUserRegisterLogic) TelephoneUserRegister(req *types.TelephoneR
LoginIP: req.IP,
UserAgent: req.UserAgent,
Success: token != "",
Timestamp: time.Now().UnixMilli(),
}
content, _ := loginLog.Marshal()
if err := l.svcCtx.LogModel.Insert(l.ctx, &log.SystemLog{