You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
842 B

2 weeks ago
package cn.xluobo;
import cn.xluobo.config.properties.AddressProperties;
import cn.xluobo.config.properties.UploadConfigProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import java.net.UnknownHostException;
@SpringBootApplication
@EnableConfigurationProperties({UploadConfigProperties.class, AddressProperties.class})
@EnableScheduling
@EnableAsync
public class BusinessServerApplication {
public static void main(String[] args) throws UnknownHostException {
SpringApplication.run(BusinessServerApplication.class, args);
}
}