Browse Source

LimitedResultRequestDto.MaxMaxResultCount = 10000

master
wanggang 1 year ago
parent
commit
f70565932a
  1. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs

@ -3,6 +3,7 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Hosting;
using Serilog; using Serilog;
using Volo.Abp.Application.Dtos;
namespace Win.Sfs.SettleAccount namespace Win.Sfs.SettleAccount
{ {
@ -10,6 +11,7 @@ namespace Win.Sfs.SettleAccount
{ {
public static int Main(string[] args) public static int Main(string[] args)
{ {
LimitedResultRequestDto.MaxMaxResultCount = 10000;
var configuration = new ConfigurationBuilder() var configuration = new ConfigurationBuilder()
.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true) .AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
.AddJsonFile($"appsettings.{Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT")}.json", optional: true, reloadOnChange: true) .AddJsonFile($"appsettings.{Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT")}.json", optional: true, reloadOnChange: true)

Loading…
Cancel
Save