bug fix:change port value

pull/1145/head
lin.huang 2 years ago
parent f245afb220
commit e84530b6c9

@ -77,7 +77,7 @@ func (a *RpcCmd) GetPortFromConfig(portType string) int {
} }
case RpcMsgServer: case RpcMsgServer:
if portType == constant.FlagPort { if portType == constant.FlagPort {
return config2.Config.RpcPort.OpenImMessageGatewayPort[0] return config2.Config.RpcPort.OpenImMessagePort[0]
} }
case RpcThirdServer: case RpcThirdServer:
if portType == constant.FlagPort { if portType == constant.FlagPort {

Loading…
Cancel
Save