qinchaoyue 5 сар өмнө
parent
commit
6fd1500ebe

+ 2 - 2
src/Hotline.Api/Controllers/OrderController.cs

@@ -289,7 +289,7 @@ public class OrderController : BaseController
     public async Task<IList<PublishDto>> GetPublishOrderListAsync([FromQuery] QueryOrderPublishDto dto)
     { 
         var query = _orderApplication.GetPublishOrderList(dto);
-        return (await query.ToFixedListAsync(dto.QueryIndex, dto.PageSize, HttpContext.RequestAborted))
+        return (await query.ToFixedListAsync(dto.QueryIndex, 200, HttpContext.RequestAborted))
             .Adapt<List<PublishDto>>();
     }
 
@@ -664,7 +664,7 @@ public class OrderController : BaseController
     public async Task<IList<PublishedDto>> GetPublishedOrderListAsync([FromQuery] PublishedPagedRequest dto)
     {
         var query = _orderApplication.GetPublishedOrder(dto);
-        return (await query.ToFixedListAsync(dto.QueryIndex, dto.PageSize, HttpContext.RequestAborted))
+        return (await query.ToFixedListAsync(dto.QueryIndex, 200, HttpContext.RequestAborted))
             .Adapt<List<PublishedDto>>();
     }