mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 19:46:57 +08:00
fix bug
This commit is contained in:
parent
4e5c1606f3
commit
1a2ea05361
@ -12,9 +12,10 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"context"
|
"context"
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
|
"strings"
|
||||||
|
|
||||||
go_redis "github.com/go-redis/redis/v8"
|
go_redis "github.com/go-redis/redis/v8"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"strings"
|
|
||||||
|
|
||||||
//"gopkg.in/errgo.v2/errors"
|
//"gopkg.in/errgo.v2/errors"
|
||||||
"net/http"
|
"net/http"
|
||||||
@ -133,6 +134,7 @@ func (ws *WServer) MultiTerminalLoginRemoteChecker(userID string, platformID int
|
|||||||
resp, err := client.MultiTerminalLoginCheck(context.Background(), req)
|
resp, err := client.MultiTerminalLoginCheck(context.Background(), req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error(operationID, "MultiTerminalLoginCheck failed ", err.Error())
|
log.Error(operationID, "MultiTerminalLoginCheck failed ", err.Error())
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
if resp.ErrCode != 0 {
|
if resp.ErrCode != 0 {
|
||||||
log.Error(operationID, "MultiTerminalLoginCheck errCode, errMsg: ", resp.ErrCode, resp.ErrMsg)
|
log.Error(operationID, "MultiTerminalLoginCheck errCode, errMsg: ", resp.ErrCode, resp.ErrMsg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user