denny 2 years ago
parent
commit
bc4e4b919d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/InteractionCenter/VinnoServerService.cs

+ 3 - 3
src/InteractionCenter/VinnoServerService.cs

@@ -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>();