From 9807d741717f24e541209bfcbfc7897e7f9ca9d5 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Thu, 22 Sep 2022 14:08:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E8=81=8A=E5=A4=A9=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E6=96=B0=E5=8A=A0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/chat/api_send.go | 1 + modules/chat/api_sendcross.go | 1 + 2 files changed, 2 insertions(+) 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,