vincentlu
2025-02-05 9d79b8c8d34077ebf782a7b61d54ee4e1debdba1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.vincent.rsf.common.config;
 
import com.vincent.rsf.framework.common.SnowflakeIdWorker;
import com.vincent.rsf.framework.common.SpringUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
 
/**
 * Created by vincent on 12/19/2023
 */
@Configuration
public class PlusBeanConfig {
 
    @Bean
    public SpringUtils getSpringUtils(){
        return new SpringUtils();
    }
 
    @Bean
    public SnowflakeIdWorker snowflakeIdWorker(){
        return new SnowflakeIdWorker();
    }
 
}