bug fix:change port value

This commit is contained in:
lin.huang 2023-10-05 12:28:36 +08:00
parent f245afb220
commit e84530b6c9

View File

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