get grpc conn from config

pull/351/head
skiffer-git 3 years ago
parent 85a52f5d6b
commit a3daaa55b5

@ -127,7 +127,7 @@ func GetConfigConn(serviceName string, operationID string) *grpc.ClientConn {
}
//5
if config.Config.RpcRegisterName.OpenImRelayName == serviceName {
configPortList = config.Config.RpcPort.OpenIm
configPortList = config.Config.RpcPort.OpenImMessageGatewayPort
}
//6
if config.Config.RpcRegisterName.OpenImGroupName == serviceName {

Loading…
Cancel
Save