用户登陆功能实现,基本接口鉴权功能实现

This commit is contained in:
2025-06-12 13:31:52 +08:00
parent e8296042e3
commit 02eb5a7484
15 changed files with 510 additions and 14 deletions

View File

@@ -21,11 +21,12 @@ public class MyBatisPlusConfig {
*
* @return
*/
// @Bean
// public MybatisPlusInterceptor mybatisPlusInterceptor() {
// MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
// // 分页插件
// interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL));
// return interceptor;
// }
@Bean
public MybatisPlusInterceptor mybatisPlusInterceptor() {
MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
// 分页插件
interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL));
return interceptor;
}
}