| package com.xcong.excoin.configurations; | 
|   | 
| import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; | 
| import org.springframework.context.annotation.Bean; | 
| import org.springframework.context.annotation.Configuration; | 
|   | 
| /** | 
|  * @author wzy | 
|  * @date 2020-04-29 11:17 | 
|  **/ | 
| @Configuration | 
| public class MybatisPlusConfig { | 
|   | 
|     /** | 
|      * 分页插件 | 
|      * | 
|      * @return | 
|      */ | 
|     @Bean | 
|     public PaginationInterceptor paginationInterceptor(){ | 
|         return new PaginationInterceptor(); | 
|     } | 
| } |