|
@@ -19,6 +19,8 @@
|
|
|
|
|
|
<modules>
|
|
|
|
|
|
+ <module>user</module>
|
|
|
+
|
|
|
</modules>
|
|
|
|
|
|
<properties>
|
|
@@ -32,6 +34,11 @@
|
|
|
|
|
|
<dependencies>
|
|
|
<!-- mongodb-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.data</groupId>
|
|
|
+ <artifactId>spring-data-mongodb</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
|
@@ -74,24 +81,24 @@
|
|
|
</dependency>
|
|
|
|
|
|
<!--Nacos依赖-->
|
|
|
- <dependency>
|
|
|
- <groupId>com.alibaba.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
- <version>2.2.6.RELEASE</version>
|
|
|
- <!--openfeign里面有复载均衡,所以这里必须注释掉,不然会冲突-->
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <groupId>org.springframework.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>com.alibaba.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
- <version>2.2.6.RELEASE</version>
|
|
|
- </dependency>
|
|
|
+<!-- <dependency>-->
|
|
|
+<!-- <groupId>com.alibaba.cloud</groupId>-->
|
|
|
+<!-- <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>-->
|
|
|
+<!-- <version>2.2.6.RELEASE</version>-->
|
|
|
+<!-- <!–openfeign里面有复载均衡,所以这里必须注释掉,不然会冲突–>-->
|
|
|
+<!-- <exclusions>-->
|
|
|
+<!-- <exclusion>-->
|
|
|
+<!-- <groupId>org.springframework.cloud</groupId>-->
|
|
|
+<!-- <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>-->
|
|
|
+<!-- </exclusion>-->
|
|
|
+<!-- </exclusions>-->
|
|
|
+<!-- </dependency>-->
|
|
|
+
|
|
|
+<!-- <dependency>-->
|
|
|
+<!-- <groupId>com.alibaba.cloud</groupId>-->
|
|
|
+<!-- <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>-->
|
|
|
+<!-- <version>2.2.6.RELEASE</version>-->
|
|
|
+<!-- </dependency>-->
|
|
|
|
|
|
<!--openfeign依赖 Feign的注解定义接口,调用这个接口,就可以调用服务注册中心的服务-->
|
|
|
<dependency>
|
|
@@ -104,6 +111,15 @@
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-loadbalancer</artifactId>
|
|
|
</dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
+ <version>1.18.20</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
</dependencies>
|
|
|
|
|
|
<dependencyManagement>
|