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

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

@@ -209,7 +209,7 @@ namespace GxPress.Service.Implement.AppHomePage
             var systemLabel = await _systemLabelRepository.GetAsync(request.LableId);
             if (systemLabel == null)
                 return null;
-            var ids = await _mediaLableRepository.GetMediaIdsAysnc(request.LableId);
+            var ids = await systemLableMediaRepository.GetMediaIdsAsync(request.LableId,0);
             request.Ids = ids.ToList();
             request.Limit = systemLabel.PageSize;
             return await mediaRepository.GetMediaByLableIdsAsync(request);