2024-03-01 19:44:15 +08:00
|
|
|
package com.qihang.jd;
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Hello world!
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@EnableDiscoveryClient
|
|
|
|
|
@ComponentScan(basePackages={"com.qihang"})
|
|
|
|
|
//@MapperScan("com.qihang.jd.mapper")
|
|
|
|
|
@SpringBootApplication
|
|
|
|
|
public class JdApi
|
|
|
|
|
{
|
|
|
|
|
public static void main( String[] args )
|
|
|
|
|
{
|
|
|
|
|
System.out.println( "Hello jd-api!" );
|
|
|
|
|
SpringApplication.run(JdApi.class, args);
|
|
|
|
|
}
|
2024-03-07 16:28:39 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* redis消息监听器容器
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-03-01 19:44:15 +08:00
|
|
|
}
|