李昊 4 年之前
父节点
当前提交
ec852fa049
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      gx_api/GxPress/Service/GxPress.Service.Implement/AppHomePage/AppHomePageService.cs

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

@@ -136,7 +136,8 @@ namespace GxPress.Service.Implement.AppHomePage
             mediaLableIdRequest.Page = request.Page;
             mediaLableIdRequest.PerPage = request.PerPage;
             var ids = await systemLableMediaRepository.GetMediaIdsAsync(systemLabel.Id, 0);
-            mediaLableIdRequest.Ids = ids.ToList();
+            var mediaIds = await _mediaLableRepository.GetMediaIdsAysnc(systemLabel.Id);
+            mediaLableIdRequest.Ids = mediaIds.ToList();
             return await mediaRepository.GetMediaByLableIdAsync(mediaLableIdRequest);
         }
         /// <summary>