fix(log): update timestamp handling in login and registration logs
This commit is contained in:
@@ -57,6 +57,7 @@ func (l *TelephoneLoginLogic) TelephoneLogin(req *types.TelephoneLoginRequest, r
|
||||
LoginIP: ip,
|
||||
UserAgent: r.UserAgent(),
|
||||
Success: loginStatus,
|
||||
Timestamp: time.Now().UnixMilli(),
|
||||
}
|
||||
content, _ := loginLog.Marshal()
|
||||
if err := l.svcCtx.LogModel.Insert(l.ctx, &log.SystemLog{
|
||||
|
||||
Reference in New Issue
Block a user