Junjie
9 天以前 1c7abc2dd0e4a4f2879af4eb00fb7eb4346fbf07
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.zy.common.config;
 
import com.core.common.SnowflakeIdWorker;
import com.core.common.SpringUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
 
@Configuration
public class CoreCompatConfig {
 
    @Bean
    public SnowflakeIdWorker snowflakeIdWorker() {
        return new SnowflakeIdWorker();
    }
 
    @Bean
    public SpringUtils springUtils() {
        return new SpringUtils();
    }
}