package com.zcxk.rmcp.web.config;

import com.zcxk.core.common.util.SnowflakeIdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Andy
 * @version V1.0
 **/
@Configuration
public class SnowflakeIdWorkerConfig {
    @Bean
    public SnowflakeIdWorker snowflakeIdWorker() {
        return new SnowflakeIdWorker(1, 1);
    }
}
