|
@@ -269,7 +269,7 @@ namespace WingCloudServer.InteractionCenter
|
|
|
var model = new ServerListResult()
|
|
|
{
|
|
|
IsDistributed = ConfigurationManager.IsDistributed,
|
|
|
- ServerList = await GetServerInfoFromCacheAsync(req)
|
|
|
+ ServerList = await GetServerInfoListAsync(req)
|
|
|
};
|
|
|
ResponseContent(context, true, model);
|
|
|
return;
|
|
@@ -423,7 +423,7 @@ namespace WingCloudServer.InteractionCenter
|
|
|
/// </summary>
|
|
|
/// <param name="request"></param>
|
|
|
/// <returns>The op log list</returns>
|
|
|
- public async Task<bool> UpdateServerInfoToCacheAsync(UpdateServerInfoRequest request)
|
|
|
+ public async Task<bool> UpdateServerInfoAsync(UpdateServerInfoRequest request)
|
|
|
{
|
|
|
//这里应该是批量移除,请求参数要改
|
|
|
if (request.Codes != null && request.Codes.Any())
|
|
@@ -445,7 +445,7 @@ namespace WingCloudServer.InteractionCenter
|
|
|
/// </summary>
|
|
|
/// <param name="request"></param>
|
|
|
/// <returns></returns>
|
|
|
- public async Task<List<ServerInfoDTO>> GetServerInfoFromCacheAsync(QueryServerInfoRequest request)
|
|
|
+ public async Task<List<ServerInfoDTO>> GetServerInfoListAsync(QueryServerInfoRequest request)
|
|
|
{
|
|
|
//这里应该是批量查询,请求参数要改
|
|
|
var list = new List<ServerInfoDTO>();
|