Browse Source

发布地址配置

fenghaifu 4 năm trước cách đây
mục cha
commit
48da39a9ce
1 tập tin đã thay đổi với 28 bổ sung29 xóa
  1. 28 29
      src/main/resources/application-prod.yml

+ 28 - 29
src/main/resources/application-prod.yml

@@ -14,9 +14,12 @@ management:
 
 spring:
   mail:
-    host: smtp.frontagelab.com.cn
-    username: itgroup@frontagelab.com.cn
-    password: Welcome2019
+    host: smtp.163.com
+    username: 17887951939@163.com
+    password: kabuqinuo5276
+#    host: smtp.frontagelab.com.cn
+#    username: itgroup@frontagelab.com.cn
+#    password: Welcome2019
     properties:
       mail:
         smtp:
@@ -56,8 +59,8 @@ spring:
   datasource:
     druid:
       stat-view-servlet:
-        loginUsername:
-        loginPassword:
+        loginUsername: admin
+        loginPassword: 123456
     dynamic:
       druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)
         # 连接池的配置信息
@@ -71,7 +74,7 @@ spring:
         timeBetweenEvictionRunsMillis: 60000
         # 配置一个连接在池中最小生存的时间,单位是毫秒
         minEvictableIdleTimeMillis: 300000
-        validationQuery: SELECT 1 FROM DUAL
+        validationQuery: SELECT 1 FROM AA_Bank
         testWhileIdle: true
         testOnBorrow: false
         testOnReturn: false
@@ -85,30 +88,27 @@ spring:
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource:
           master:
-            url: jdbc:mysql://10.21.2.113:3306/fangda_prod?characterEncoding=UTF-8&useUnicode=true&useSSL=false&allowMultiQueries=true&failOverReadOnly=false
+            url: jdbc:mysql://127.0.0.1:3306/fbs_dev?characterEncoding=UTF-8&useUnicode=true&useSSL=false&allowMultiQueries=true&failOverReadOnly=false
             username: root
-            password: root
+            password: abc123!@#
+#            type: com.alibaba.druid.pool.DruidDataSource
             driver-class-name: com.mysql.jdbc.Driver
           # 多数据源配置
-          #multi-datasource1:
-            #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
-            #username: root
-            #password: root
-            #driver-class-name: com.mysql.jdbc.Driver
+          multi-datasource1:
+#            url: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
+#            username: root
+#            password: admin
+#            driver-class-name: com.mysql.jdbc.Driver
+#            url: jdbc:sqlserver://103.40.192.17:43110;DatabaseName=UFDATA_006_2019
+             url: jdbc:sqlserver://10.1.191.191;DatabaseName=UFDATA_900_2019
+#            url: jdbc:sqlserver://47.103.119.148;DatabaseName=UFDATA_900_2019
+             username: sa
+ #           password: admin
+             password: Wakeup@123
+            #使用druid数据源
+#            type: com.alibaba.druid.pool.DruidDataSource
+            driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
   #redis 配置
-#  redis:
-#     database: 0
-#     host: 127.0.0.1
-#     lettuce:
-#       pool:
-#         max-active: 8   #最大连接数据库连接数,设 0 为没有限制
-#         max-idle: 8     #最大等待连接中的数量,设 0 为没有限制
-#         max-wait: -1ms  #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
-#         min-idle: 0     #最小等待连接中的数量,设 0 为没有限制
-#       shutdown-timeout: 100ms
-#     password: ''
-#     port: 6379
-
   redis:
      database: 0
      host: 140.143.16.246
@@ -121,7 +121,6 @@ spring:
        shutdown-timeout: 100ms
      password: 'fenghaifu'
      port: 14330
-
 #mybatis plus 设置
 mybatis-plus:
    mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml
@@ -129,9 +128,9 @@ mybatis-plus:
 jeecg :
   path :
     #文件上传根目录 设置
-    upload: D://upfiles
+    upload: D://upFiles
     #webapp文件路径
-    webapp: D://upfiles
+    webapp: D://webapp
 logging:
   level:
     org.jeecg.modules.system.mapper : debug