|
@@ -27,10 +27,37 @@
|
|
|
<version>${weixin-java-mp.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
+ <!--<dependency>-->
|
|
|
+ <!--<groupId>org.springframework.cloud</groupId>-->
|
|
|
+ <!--<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>-->
|
|
|
+ <!--</dependency>-->
|
|
|
+
|
|
|
+ <!--client -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!--configs -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-config</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- feign客户端依赖 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
|
|
+ <artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
</dependency>
|
|
|
+ <!-- feign使用服务id获取加请求路径获取的负载均衡依赖 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
@@ -45,6 +72,7 @@
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
</dependency>
|
|
|
+ <!--再在配置类开头加上@PropertySource("classpath:your.properties"),其余用法与加载yml的配置一样-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
@@ -55,11 +83,13 @@
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
+
|
|
|
+
|
|
|
<!-- monotodb -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-data-mongodb</artifactId>
|
|
|
- </dependency>
|
|
|
+ <!--<dependency>-->
|
|
|
+ <!--<groupId>org.springframework.boot</groupId>-->
|
|
|
+ <!--<artifactId>spring-boot-starter-data-mongodb</artifactId>-->
|
|
|
+ <!--</dependency>-->
|
|
|
|
|
|
<!-- pgsql -->
|
|
|
<dependency>
|