mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-04 17:15:58 +08:00
msg test
This commit is contained in:
@@ -28,7 +28,7 @@ func InsertMessageToChatLog(msg pbMsg.MsgDataToMQ) error {
|
||||
chatLog.RecvID = msg.MsgData.RecvID
|
||||
}
|
||||
chatLog.Content = string(msg.MsgData.Content)
|
||||
chatLog.CreateTime = utils.UnixNanoSecondToTime(msg.MsgData.CreateTime)
|
||||
chatLog.SendTime = utils.UnixNanoSecondToTime(msg.MsgData.SendTime)
|
||||
chatLog.CreateTime = utils.UnixMillSecondToTime(msg.MsgData.CreateTime)
|
||||
chatLog.SendTime = utils.UnixMillSecondToTime(msg.MsgData.SendTime)
|
||||
return dbConn.Table("chat_logs").Create(chatLog).Error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user