Quellcode durchsuchen

Merge remote-tracking branch 'origin/master'

songyh vor 3 Jahren
Ursprung
Commit
61408a81fe

+ 1 - 0
jeecg-boot-module-demo/src/main/java/org/jeecg/JeecgDemoCloudApplication.java

@@ -7,6 +7,7 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
 
 @SpringBootApplication
 @EnableDubbo
+@EnableFeignClients(basePackages = {"org.jeecg"})
 public class JeecgDemoCloudApplication {
 
     public static void main(String[] args) {

+ 15 - 15
jeecg-boot-module-system/src/main/resources/application-test.yml

@@ -131,9 +131,9 @@ spring:
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource:
           master:
-            url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
-            username: root
-            password: root
+            url: jdbc:mysql://139.186.165.84:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+            username: hcst
+            password: hcst@2020
             driver-class-name: com.mysql.cj.jdbc.Driver
           # 多数据源配置
           #multi-datasource1:
@@ -142,18 +142,18 @@ spring:
             #password: root
             #driver-class-name: com.mysql.cj.jdbc.Driver
   #redis 配置
-  redis:
-     database: 0
-     host: 192.168.1.199
-     lettuce:
-       pool:
-         max-active: 8   #最大连接数据库连接数,设 -1 为没有限制
-         max-idle: 8     #最大等待连接中的数量,设 0 为没有限制
-         max-wait: -1ms  #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
-         min-idle: 0     #最小等待连接中的数量,设 0 为没有限制
-       shutdown-timeout: 100ms
-     password: ''
-     port: 6379
+#  redis:
+#     database: 0
+#     host: 192.168.1.199
+#     lettuce:
+#       pool:
+#         max-active: 8   #最大连接数据库连接数,设 -1 为没有限制
+#         max-idle: 8     #最大等待连接中的数量,设 0 为没有限制
+#         max-wait: -1ms  #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
+#         min-idle: 0     #最小等待连接中的数量,设 0 为没有限制
+#       shutdown-timeout: 100ms
+#     password: ''
+#     port: 6379
 #mybatis plus 设置
 mybatis-plus:
    mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml