//获取conn服务器组相关信息
var conn = this.app.getServersByType('connector');
next(null, {
code: 200,
host: conn[0].host,
port: conn[0].clientPort
})
转载于:https://my.oschina.net/1784253989/blog/518029
//获取conn服务器组相关信息
var conn = this.app.getServersByType('connector');
next(null, {
code: 200,
host: conn[0].host,
port: conn[0].clientPort
})
转载于:https://my.oschina.net/1784253989/blog/518029