2024-01-19 17:12:41 +08:00
|
|
|
package com.qihang.tao;
|
|
|
|
|
|
2024-02-25 11:11:57 +08:00
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
2024-01-19 17:12:41 +08:00
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
|
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
2024-02-26 19:15:34 +08:00
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
2024-01-21 18:46:58 +08:00
|
|
|
//import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
|
2024-01-19 17:12:41 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Hello world!
|
|
|
|
|
*
|
|
|
|
|
*/
|
2024-01-21 18:46:58 +08:00
|
|
|
//@EnableWebSecurity
|
2024-02-26 20:51:10 +08:00
|
|
|
|
2024-01-19 17:12:41 +08:00
|
|
|
@EnableDiscoveryClient
|
2024-02-26 19:15:34 +08:00
|
|
|
@ComponentScan(basePackages={"com.qihang"})
|
2024-02-29 10:53:01 +08:00
|
|
|
//@MapperScan("com.qihang.tao.mapper")
|
2024-02-25 11:11:57 +08:00
|
|
|
@SpringBootApplication
|
2024-01-22 18:48:10 +08:00
|
|
|
public class TaoApi
|
2024-01-19 17:12:41 +08:00
|
|
|
{
|
|
|
|
|
public static void main( String[] args )
|
|
|
|
|
{
|
2024-02-26 19:15:34 +08:00
|
|
|
System.out.println( "Hello tao-api!" );
|
2024-01-22 18:48:10 +08:00
|
|
|
SpringApplication.run(TaoApi.class, args);
|
2024-01-19 17:12:41 +08:00
|
|
|
}
|
|
|
|
|
}
|