skyouc
2025-07-03 a0b12066a28a1bb4e844200504abce66fc7081f5
zy-asrs-common/src/main/java/com/zy/asrs/common/config/PlusBeanConfig.java
@@ -1,25 +1,25 @@
package com.zy.asrs.common.config;
import com.zy.asrs.framework.common.SnowflakeIdWorker;
import com.zy.asrs.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();
    }
}
package com.zy.asrs.common.config;
import com.zy.asrs.framework.common.SnowflakeIdWorker;
import com.zy.asrs.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();
    }
}