李昊 4 years ago
parent
commit
107b379314

+ 1 - 1
gx_api/GxPress/Service/GxPress.Service.Implement/AppHomePage/AppHomePageService.cs

@@ -256,7 +256,7 @@ namespace GxPress.Service.Implement.AppHomePage
             foreach (var item in systemLabels)
             {
                 //获取媒体标签
-                var mediaIds = await _mediaLableRepository.GetMediaIdsAysnc(item.Id);
+                var mediaIds = await systemLableMediaRepository.GetMediaIdsAsync(item.Id,0);
                 var medias = await mediaRepository.GetNavigationMediaResults(mediaIds, 1, item.PageSize);
                 var list = new List<MediaCathedraResult>();
                 foreach (var mediaModel in medias)