|
@ -3,6 +3,7 @@ package com.yihu.jw;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
|
|
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
|
|
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
|
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
|
|
|
|
|
@ -17,6 +18,7 @@ import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
|
entityManagerFactoryRef="baseEntityManagerFactory",
|
|
entityManagerFactoryRef="baseEntityManagerFactory",
|
|
transactionManagerRef = "baseTransactionManager"
|
|
transactionManagerRef = "baseTransactionManager"
|
|
)
|
|
)
|
|
|
|
@ComponentScan(basePackages={"com"})
|
|
public class SvrBaseApplication {
|
|
public class SvrBaseApplication {
|
|
|
|
|
|
public static void main(String[] args) {
|
|
public static void main(String[] args) {
|