package com.zjty.autotest;

import com.zjty.autotest.mq.PushBlockQueue;
import com.zjty.autotest.util.IdWorker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

import javax.annotation.PostConstruct;

@SpringBootApplication
public class AutotestApplication {
    public static void main(String[] args) {
        SpringApplication.run(AutotestApplication.class, args);
    }
    @Bean
    public IdWorker idWorkker(){
        return new IdWorker(1, 1);
    }


}
