From 2d20c4ee4cfceebbb6a3cd55d63a293bebae0fa5 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Tue, 26 Jul 2022 15:23:33 +0800 Subject: [PATCH] superGroupMaxSeq --- internal/rpc/msg/msg_status.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/rpc/msg/msg_status.go b/internal/rpc/msg/msg_status.go index 9aff2b517..bdfa05952 100644 --- a/internal/rpc/msg/msg_status.go +++ b/internal/rpc/msg/msg_status.go @@ -10,7 +10,7 @@ import ( goRedis "github.com/go-redis/redis/v8" ) -func (rpc *rpcChat) SetSendMsgFailedFlag(_ context.Context, req pbMsg.SetSendMsgFailedFlagReq) (resp pbMsg.SetSendMsgFailedFlagResp, err error) { +func (rpc *rpcChat) SetSendMsgFailedFlag(_ context.Context, req *pbMsg.SetSendMsgFailedFlagReq) (resp *pbMsg.SetSendMsgFailedFlagResp, err error) { log.NewInfo(req.OperationID, utils.GetSelfFuncName(), req.String()) if err := db.DB.SetSendMsgFailedFlag(req.OperationID); err != nil { resp.ErrCode = constant.ErrDB.ErrCode @@ -21,7 +21,7 @@ func (rpc *rpcChat) SetSendMsgFailedFlag(_ context.Context, req pbMsg.SetSendMsg return resp, nil } -func (rpc *rpcChat) GetSendMsgStatus(_ context.Context, req pbMsg.GetSendMsgStatusReq) (resp pbMsg.GetSendMsgStatusResp, err error) { +func (rpc *rpcChat) GetSendMsgStatus(_ context.Context, req *pbMsg.GetSendMsgStatusReq) (resp *pbMsg.GetSendMsgStatusResp, err error) { log.NewInfo(req.OperationID, utils.GetSelfFuncName(), req.String()) if err := db.DB.GetSendMsgStatus(req.OperationID); err != nil { if err == goRedis.Nil {