Commit f3ce5ee8 by zhanghj

V1.0.0--提交用户体现相关代码

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@17285 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent c7a4bceb
...@@ -7,6 +7,8 @@ import org.springframework.boot.builder.SpringApplicationBuilder; ...@@ -7,6 +7,8 @@ import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan; import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient; import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement; import org.springframework.transaction.annotation.EnableTransactionManagement;
/** /**
...@@ -19,8 +21,10 @@ import org.springframework.transaction.annotation.EnableTransactionManagement; ...@@ -19,8 +21,10 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
* @version 1.0.0 * @version 1.0.0
*/ */
@SpringBootApplication @SpringBootApplication
@ComponentScan("com.glsx")
@ServletComponentScan @ServletComponentScan
@EnableEurekaClient @EnableEurekaClient
@EnableFeignClients(basePackages = {"com.glsx.common.feign.client"})
@EnableTransactionManagement @EnableTransactionManagement
@MapperScan(basePackages={"com.glsx.publicservice.mapper"}) @MapperScan(basePackages={"com.glsx.publicservice.mapper"})
public class Application extends SpringBootServletInitializer{ public class Application extends SpringBootServletInitializer{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!