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.

31 lines
1020 B

package com.jiuyv;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.client.RestTemplate;
/**
* 启动程序
*
* @author admin
*/
@EnableScheduling
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class CarcheckApplication {
private static final Logger LOGGER = LoggerFactory.getLogger(CarcheckApplication.class);
public static void main(String[] args) {
SpringApplication.run(CarcheckApplication.class, args);
LOGGER.info("(♥◠‿◠)ノ゙ 上海中检机动车整车生物安全检查系统启动成功 ლ(´ڡ`ლ)゙ \n ");
}
@Bean
public RestTemplate restTemplate() {
return new RestTemplate();
}
}