diff --git a/modules/chat/api_send.go b/modules/chat/api_send.go index 672379114..347a6092b 100644 --- a/modules/chat/api_send.go +++ b/modules/chat/api_send.go @@ -39,6 +39,7 @@ func (this *apiComp) Send(session comm.IUserSession, req *pb.ChatSendReq) (code Uname: req.Uname, Avatar: req.Avatar, Stag: session.GetServiecTag(), + Ctype: req.Ctype, Content: req.Content, Ctime: time.Now().Unix(), AppendInt: req.AppendInt, diff --git a/modules/chat/api_sendcross.go b/modules/chat/api_sendcross.go index dae634c3d..bfb4dc722 100644 --- a/modules/chat/api_sendcross.go +++ b/modules/chat/api_sendcross.go @@ -39,6 +39,7 @@ func (this *apiComp) SendCross(session comm.IUserSession, req *pb.ChatSendCrossR Uname: req.Uname, Avatar: req.Avatar, Stag: session.GetServiecTag(), + Ctype: req.Ctype, Content: req.Content, Ctime: time.Now().Unix(), AppendInt: req.AppendInt,