From 151d15d78d22ad734f459a3bfeadd78c71d794e9 Mon Sep 17 00:00:00 2001 From: AlexBob <5199840@qq.com> Date: Mon, 3 Jun 2024 17:06:40 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(=E9=85=8D?= =?UTF-8?q?=E7=BD=AE):=20=E5=B0=86`Pageable`=E7=9A=84=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E4=BB=8E50=E8=B0=83=E6=95=B4=E4=B8=BA25?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/platform/boot/config/WebConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/platform/src/main/java/com/platform/boot/config/WebConfiguration.java b/boot/platform/src/main/java/com/platform/boot/config/WebConfiguration.java index e30f584d..1d2da331 100644 --- a/boot/platform/src/main/java/com/platform/boot/config/WebConfiguration.java +++ b/boot/platform/src/main/java/com/platform/boot/config/WebConfiguration.java @@ -21,7 +21,7 @@ public void configureArgumentResolvers(ArgumentResolverConfigurer configurer) { ReactivePageableHandlerMethodArgumentResolver pageableResolver = new ReactivePageableHandlerMethodArgumentResolver(); pageableResolver.setMaxPageSize(100); - pageableResolver.setFallbackPageable(Pageable.ofSize(50)); + pageableResolver.setFallbackPageable(Pageable.ofSize(25)); configurer.addCustomResolver(pageableResolver); }