Ver Fonte

更新线上环境配置

udream-cxs há 4 anos atrás
pai
commit
dd9a8fcd05

+ 36 - 5
lift-system-service/src/main/resources/application-test.yml

@@ -1,26 +1,57 @@
 spring:
   datasource:
-    url: jdbc:mysql://192.168.1.122:3306/rdsliftmanager?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
-    username: root
-    password: Ty-20526
+    url: jdbc:mysql://rm-bp1qkwy173koi066xuo.mysql.rds.aliyuncs.com:3306/rdsliftmanager?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+    username: tykj
+    password: Tdkg-13250409
     driver-class-name: com.mysql.cj.jdbc.Driver
 
   #redis缓存配置
   redis:
     database: 0 #数据库索引,默认为0
-    host: 192.168.1.122 #服务器地址
+    host: r-bp1j7odydtfqtprdvmpd.redis.rds.aliyuncs.com #(内网地址)服务器地址
     port: 6379 #端口
-    password: tytykj #验证密码
+    password: Gdkc-290431 #验证密码
     jedis:
       pool:
         max-active: 8 #最大连接数
         max-idle: 8 #最大空闲链接
         max-wait: 20000ms
         min-idle: 0
+    timeout: 600000
+    open:  true
+    db: 0
+  activemq:
+    #ActiveMQ通讯地址
+    broker-url: tcp://172.16.24.145:61616
+    #用户名
+    user: admin
+    #密码
+    password: admin
+    #true 表示使用内置的MQ,false则连接服务器: 消息持久化就必须spring.activemq.in-memory=false选项
+    in-memory: false
+    packages:
+      #信任所有的包: 如果直接发送对象消息,那么必须设置spring.activemq.packages.trust-all为true
+      trust-all: true
+    pool:
+      #true表示使用连接池;false时,每发送一条数据创建一个连接
+      enabled: true
+      #连接池最大连接数
+      max-connections: 30
+      #空闲的连接过期时间,默认为30秒
+      idle-timeout: 3000s
+  jms:
+    #如果是点对点(queue),那么此处默认应该是false,如果发布订阅,那么一定设置为true
+    pub-sub-domain: false
+  servlet:
+    multipart:
+      #配置文件接收大小最大为3MB
+      max-file-size: 3MB
 
 #aliyun OSS服务配置信息,加载到SystemConfiguration
 aliyun:
   oss:
+    #    endpoint: http://oss-cn-hangzhou.aliyuncs.com
+    #使用内网需要把返回的路径 -internal去掉,不然外网无法访问
     endpoint: http://oss-cn-hangzhou-internal.aliyuncs.com
     bucketName: ty-oss-file
     accessKeyId: LTAI4G1iLTczu8JxM2En57gY

+ 1 - 1
lift-system-service/src/main/resources/application.yml

@@ -12,7 +12,7 @@ spring:
   application:
     name: lift-system-service
   profiles:
-    active: prod
+    active: test
 
 #自动添加createTime、isDelete 等字段
 xwy:

+ 1 - 1
lift-system-service/src/main/resources/bootstrap.yml

@@ -20,4 +20,4 @@ eureka:
     lease-expiration-duration-in-seconds: 20
   client:
     service-url:
-      defaultZone: http://172.16.24.142:10225/eureka/
+      defaultZone: http://192.168.1.121:10225/eureka/

+ 1 - 0
lift-ud-service/src/main/java/cn/com/ty/lift/ud/config/SwaggerConfiguration.java

@@ -47,6 +47,7 @@ public class SwaggerConfiguration {
                 .paths(PathSelectors.any())
                 .build()
                 // 设置swagger-ui.html页面上的一些元素信息。
+                .enable(false)
                 .apiInfo(apiInfo());
     }
 

+ 1 - 1
lift-ud-service/src/main/resources/application-test.yml

@@ -57,7 +57,7 @@ aliyun:
 #微信分享跳转链接
 sys:
   cont:
-    wxShareUrl: http://dev.edtyun.com/h5/index.html
+    wxShareUrl: https://dtgj.edtyun.com/app4share/index.html
 
 
 ##微信支付配置信息