package com.game.business.config;

import com.game.business.task.AppGameHanaderTask;
import com.game.business.util.Common;
import org.springframework.boot.CommandLineRunner;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.stereotype.Component;

@Component
@EnableAsync
public class GameLotteryConfig implements CommandLineRunner {

    @Override
    @Async
    public void run(String... args) throws Exception {
//        AppGameHanaderTask lottery = SpringContextSetting.getBean(AppGameHanaderTask.class);
//        lottery.initGameCountdown(Common.GAME_SIX_CODE);
    }

}
