李昊 4 år sedan
förälder
incheckning
803d10e462

+ 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);