package com.newfiber.api; import com.newfiber.xfsk.core.thread.InitializationThread; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import java.util.TimeZone; @SpringBootApplication(scanBasePackages = "com.newfiber.api") public class Application { public static void main(String[] args) { InitializationThread run = new InitializationThread(); run.run(true,false,false); TimeZone.setDefault(TimeZone.getTimeZone("Asia/Shanghai")); SpringApplication.run(Application.class, args); } }