This commit is contained in:
Gordon 2021-10-25 20:36:11 +08:00
parent 2fbe6102cd
commit 70b326ff07

View File

@ -112,7 +112,11 @@ func (ws *WServer) pullMsgResp(conn *UserConn, m *Req, pb *pbChat.PullMessageRes
if err != nil {
log.NewError(m.OperationID, "SingleUserMsg,json Unmarshal,err", err.Error())
}
c, _ := proto.Marshal(&mReplyData)
c, err := proto.Marshal(&mReplyData)
if err != nil {
log.NewError(m.OperationID, "mReplyData,json marshal,err", err.Error())
}
mReply := Resp{
ReqIdentifier: m.ReqIdentifier,
MsgIncr: m.MsgIncr,