|
|
@@ -5,9 +5,11 @@ import org.redisson.spring.starter.RedissonAutoConfiguration;
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
+import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
|
|
@SpringBootApplication
|
|
|
+@EnableDiscoveryClient
|
|
|
@ComponentScan(basePackages = {"com.jzg.commons","com.jzg.organization"})
|
|
|
@MapperScan({"com.jzg.organization.mapper","com.jzg.commons.mapper"})
|
|
|
public class OrganizationApplication {
|