mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-24 10:22:36 +08:00
msg test
This commit is contained in:
parent
f7ab90724e
commit
cd7efee49c
@ -30,5 +30,5 @@ func InsertMessageToChatLog(msg pbMsg.MsgDataToMQ) error {
|
|||||||
chatLog.Content = string(msg.MsgData.Content)
|
chatLog.Content = string(msg.MsgData.Content)
|
||||||
chatLog.CreateTime = utils.UnixNanoSecondToTime(msg.MsgData.CreateTime)
|
chatLog.CreateTime = utils.UnixNanoSecondToTime(msg.MsgData.CreateTime)
|
||||||
chatLog.SendTime = utils.UnixNanoSecondToTime(msg.MsgData.SendTime)
|
chatLog.SendTime = utils.UnixNanoSecondToTime(msg.MsgData.SendTime)
|
||||||
return dbConn.Table("chat_log").Create(chatLog).Error
|
return dbConn.Table("chat_logs").Create(chatLog).Error
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user