diff --git a/src/rpc/chat/chat/pull_message.go b/src/rpc/chat/chat/pull_message.go index 57a4e3897..7184dddd1 100644 --- a/src/rpc/chat/chat/pull_message.go +++ b/src/rpc/chat/chat/pull_message.go @@ -36,7 +36,7 @@ func (rpc *rpcChat) GetMaxAndMinSeq(_ context.Context, in *pbMsg.GetMaxAndMinSeq } else { log.NewError(in.OperationID, "getMaxSeq from redis error", in.String(), err2.Error()) resp.MinSeq = -1 - resp.ErrCode = 200 + resp.ErrCode = 201 resp.ErrMsg = "redis get err" } return resp, nil