|
|
@@ -5,6 +5,7 @@ import org.mybatis.spring.annotation.MapperScan;
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
|
|
|
+import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|
|
|
|
|
/**
|
|
|
@@ -14,6 +15,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|
|
@SpringBootApplication
|
|
|
@EnableEurekaClient
|
|
|
@EnableTransactionManagement
|
|
|
+@EnableFeignClients("com.usoftchina.saas.document.api")
|
|
|
//@EnableAuthClient
|
|
|
@MapperScan("com.usoftchina.saas.purchase.mapper")
|
|
|
public class PurchaseApplication {
|