#
luxiaotao1123
2023-12-19 b609de57ffd94d2e44f53e4e0031a02477331eff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.zy.asrs.common.config;
 
//import com.baomidou.mybatisplus.plugins.PaginationInterceptor;
 
import com.zy.asrs.framework.common.SnowflakeIdWorker;
import com.zy.asrs.framework.common.SpringUtils;
import org.springframework.context.annotation.Bean;
 
/**
 * Created by vincent on 2019-06-10
 */
public class CoolBaseConfig {
 
//    @Bean
//    public PaginationInterceptor paginationInterceptor() {
//        return new PaginationInterceptor();
//    }
 
    @Bean
    public SpringUtils getSpringUtils(){
        return new SpringUtils();
    }
 
    @Bean
    public SnowflakeIdWorker snowflakeIdWorker(){
        return new SnowflakeIdWorker();
    }
 
}