This commit is contained in:
wangchuxiao
2023-03-23 19:02:20 +08:00
parent 3e15014e0a
commit 132e1b987c
33 changed files with 818 additions and 785 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import (
)
type ChatLogDatabase interface {
CreateChatLog(msg pbMsg.MsgDataToMQ) error
CreateChatLog(msg *pbMsg.MsgDataToMQ) error
GetChatLog(chatLog *relationTb.ChatLogModel, pageNumber, showNumber int32, contentTypes []int32) (int64, []relationTb.ChatLogModel, error)
}
@@ -18,7 +18,7 @@ type chatLogDatabase struct {
chatLogModel relationTb.ChatLogModelInterface
}
func (c *chatLogDatabase) CreateChatLog(msg pbMsg.MsgDataToMQ) error {
func (c *chatLogDatabase) CreateChatLog(msg *pbMsg.MsgDataToMQ) error {
return c.chatLogModel.Create(msg)
}