李昊 4 years ago
parent
commit
07afe59d16

+ 1 - 1
gx_api/GxPress/Api/GxPress.Api/AppControllers/AppPageController.cs

@@ -220,7 +220,7 @@ namespace GxPress.Api.AppControllers
                 var request = new RankingListRequest();
                 request.DataTypeValue = item.Key;
                 mediaRankingResult.Name = item.Value;
-                mediaRankingResult.RankingListResults = await mediaRepository.GetRankingListResults(request);
+                mediaRankingResult.Items = await mediaRepository.GetRankingListResults(request);
                 foreach (var dic in dictionaryMedia)
                 {
                     if (dic.Value.Equals(item.Value))

+ 1 - 1
gx_api/GxPress/Model/GxPress.Result/Media/MediaResult.cs

@@ -583,6 +583,6 @@ namespace GxPress.Result.Media
         /// 
         /// </summary>
         /// <value></value>
-        public IEnumerable<RankingListResult> RankingListResults { get; set; }
+        public IEnumerable<RankingListResult> Items { get; set; }
     }
 }