Mybatis分页插件配置修改,以及统一登录页面中的代码修改

This commit is contained in:
ipixel committed 2021-11-04 10:23:26 +08:00
1 parent 47e6132e28
commit 65f21be0db
2 files changed
+2 -2

No files matched your search

@@ -17,7 +17,7 @@
<body class="sign_body">
<div class="container form-margin-top">
<form class="form-signin" action="/token/form" method="post">
<h2 class="form-signin-hea ding" align="center">统一认证系统</h2>
<h2 class="form-signin-heading" align="center">统一认证系统</h2>
<#if tenantList??>
<select class="form-control form-margin-top" placeholder="所属租户" name="TENANT-ID">
@@ -92,7 +92,7 @@ public class MybatisPlusConfiguration implements WebMvcConfigurer {
PaginationInnerInterceptor paginationInnerInterceptor = new PaginationInnerInterceptor();
paginationInnerInterceptor.setDbType(DbType.MYSQL);
paginationInnerInterceptor.setMaxLimit(1000L);
interceptor.addInnerInterceptor(new PaginationInnerInterceptor());
interceptor.addInnerInterceptor(paginationInnerInterceptor);
return interceptor;
}