Browse Source

Merge branch 'fix/call_1203' into test

qinchaoyue 5 months ago
parent
commit
6a592e8ba7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Hotline.Api/Controllers/OrderController.cs

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