You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
656 B
Java

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.chenxuan.bean.config;
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* @ClassNameMybatisPlusConfig
* @Description MybatisPlus配置.
* @Author Arno_Fu
* @CreatTime11/26/2019 - 5:14 PM
* @Version V1.0
*/
@Configuration
public class MybatisPlusConfig {
/**
*
* @description: 分页插件
* @return: PaginationInterceptor
*
**/
@Bean
public PaginationInterceptor paginationInterceptor() {
return new PaginationInterceptor();
}
}