mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 11:36:44 +08:00
protocol modify
This commit is contained in:
parent
e4f87b53b4
commit
3c64d84980
@ -22,7 +22,6 @@ func (rpc *rpcChat) GetMaxAndMinSeq(_ context.Context, in *pbMsg.GetMaxAndMinSeq
|
|||||||
resp.MaxSeq = 0
|
resp.MaxSeq = 0
|
||||||
} else {
|
} else {
|
||||||
log.NewError(in.OperationID, "getMaxSeq from redis error", in.String(), err1.Error())
|
log.NewError(in.OperationID, "getMaxSeq from redis error", in.String(), err1.Error())
|
||||||
resp.MaxSeq = -1
|
|
||||||
resp.ErrCode = 200
|
resp.ErrCode = 200
|
||||||
resp.ErrMsg = "redis get err"
|
resp.ErrMsg = "redis get err"
|
||||||
}
|
}
|
||||||
@ -32,7 +31,6 @@ func (rpc *rpcChat) GetMaxAndMinSeq(_ context.Context, in *pbMsg.GetMaxAndMinSeq
|
|||||||
resp.MinSeq = 0
|
resp.MinSeq = 0
|
||||||
} else {
|
} else {
|
||||||
log.NewError(in.OperationID, "getMaxSeq from redis error", in.String(), err2.Error())
|
log.NewError(in.OperationID, "getMaxSeq from redis error", in.String(), err2.Error())
|
||||||
resp.MinSeq = -1
|
|
||||||
resp.ErrCode = 201
|
resp.ErrCode = 201
|
||||||
resp.ErrMsg = "redis get err"
|
resp.ErrMsg = "redis get err"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user