|
@@ -32,7 +32,7 @@ namespace WingCloudServer.InteractionCenter
|
|
|
private ITokenDBService _tokenDBService;
|
|
|
|
|
|
/// <summary>
|
|
|
- /// 默认构é€
|
|
|
+ /// 默认构é€
|
|
|
/// </summary>
|
|
|
public VinnoServerService()
|
|
|
{
|
|
@@ -133,7 +133,7 @@ namespace WingCloudServer.InteractionCenter
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
- /// åˆ�始åŒ
|
|
|
+ /// �始化
|
|
|
/// </summary>
|
|
|
public override void Load(JsonRpcClientPool jsonRpcClientPool)
|
|
|
{
|
|
@@ -145,7 +145,7 @@ namespace WingCloudServer.InteractionCenter
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
- /// åŠ è½½ServerInfo到内å
|
|
|
+ /// åŠ è½½ServerInfo到内å˜
|
|
|
/// </summary>
|
|
|
/// <returns></returns>
|
|
|
private void LoadDBServerInfo()
|
|
@@ -218,21 +218,21 @@ namespace WingCloudServer.InteractionCenter
|
|
|
{
|
|
|
//这里应该是批�查询,请求�数�改
|
|
|
var list = new List<ServerInfoDTO>();
|
|
|
- var serverInformationList = CacheMaintenance.Instance.Get<IDistributedServerInfosManager>()
|
|
|
- .Where(x => !string.IsNullOrEmpty(x.Name) && !string.IsNullOrEmpty(x.ServerUrl))?.ToList();
|
|
|
- if (serverInformationList != null && serverInformationList.Any())
|
|
|
- {
|
|
|
- list = serverInformationList.Select(c => new ServerInfoDTO()
|
|
|
- {
|
|
|
- Name = c.Name,
|
|
|
- Host = c.ServerUrl
|
|
|
- }).ToList();
|
|
|
- }
|
|
|
+ // var serverInformationList = CacheMaintenance.Instance.Get<IDistributedServerInfosManager>()
|
|
|
+ // .Where(x => !string.IsNullOrEmpty(x.Name) && !string.IsNullOrEmpty(x.ServerUrl))?.ToList();
|
|
|
+ // if (serverInformationList != null && serverInformationList.Any())
|
|
|
+ // {
|
|
|
+ // list = serverInformationList.Select(c => new ServerInfoDTO()
|
|
|
+ // {
|
|
|
+ // Name = c.Name,
|
|
|
+ // Host = c.ServerUrl
|
|
|
+ // }).ToList();
|
|
|
+ // }
|
|
|
return await Task.FromResult(list);
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
- /// 测速接å�
|
|
|
+ /// 测速接接�
|
|
|
/// </summary>
|
|
|
/// <returns></returns>
|
|
|
public async Task<EchoResult> EchoAsync()
|