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.
|
|
|
package com.kms;
|
|
|
|
|
|
|
|
|
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
|
|
|
import org.springframework.context.ConfigurableApplicationContext;
|
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 启动程序
|
|
|
|
*
|
|
|
|
* @author kms
|
|
|
|
*/
|
|
|
|
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
|
|
|
|
@ComponentScan(basePackages = {"com.shuili.*","com.kms.*"})
|
|
|
|
@MapperScan(basePackages = {"com.shuili.*","com.kms.*"})
|
|
|
|
public class TianhuiApplication
|
|
|
|
{
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
|
|
|
ConfigurableApplicationContext run = SpringApplication.run(TianhuiApplication.class, args);
|
|
|
|
// GetUserFromNet bean1 = run.getBean(GetUserFromNet.class);
|
|
|
|
try {
|
|
|
|
// bean1.initData();
|
|
|
|
}catch (Exception e){
|
|
|
|
e.printStackTrace();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
System.out.println(" (♥◠‿◠)ノ゙ kms启动成功 ლ(´ڡ`ლ)゙ \n" +
|
|
|
|
" 88888 Yb dP 888888 888888 d P\"\"b8 88 88 \r\n" +
|
|
|
|
" 88 Yb db dP 88 88__ dP `\" 88 88 \r\n" +
|
|
|
|
"o. 88 YbdPYbdP 88 88\"\" Yb 888888 \r\n" +
|
|
|
|
"\"bodP' YP YP 88 888888 YboodP 88 88 \r\n" +
|
|
|
|
"\r\n" +
|
|
|
|
"");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|