Commit 89c50fdd by 小柒2012

启动类

Signed-off-by: 小柒2012 <345849402@qq.com>
parent 5f63bc0f
...@@ -4,6 +4,12 @@ import org.apache.log4j.Logger; ...@@ -4,6 +4,12 @@ import org.apache.log4j.Logger;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
/**
* 启动类
* 创建者 科帮网
* 创建时间 2017年7月19日
*
*/
@EnableAutoConfiguration @EnableAutoConfiguration
@ComponentScan(basePackages={"com.itstyle.mongodb"}) @ComponentScan(basePackages={"com.itstyle.mongodb"})
public class Application { public class Application {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment