hxf 1 år sedan
förälder
incheckning
97b1aa1dab

+ 19 - 23
wrdep-biz/src/main/resources/application-dev.yml

@@ -2,26 +2,24 @@
 spring:
   servlet:
     multipart:
-      max-file-size: 10MB
-      max-request-size: 20MB
-  data:
-    mongodb:
-#      host: 49.4.78.194
-#      host: 10.124.252.246
-      host: 192.168.1.208
-#      port: 17142
-      port: 27017
-      database: neim
-      username: neimdb
-      password: 'neim123'
+      max-file-size: 512MB
+      max-request-size: 512MB
+  #  data:
+  #    mongodb:
+  ##      host: 49.4.78.194
+  ##      host: 10.124.252.246
+  #      host: 192.168.10.208
+  ##      port: 17142
+  #      port: 27017
+  #      database: neim
+  #      username: neimdb
+  #      password: 'neim123'
   datasource:
     dynamic:
       primary: mysql #设置默认的数据源或者数据源组,默认值即为master
       datasource:
         mysql:
-          url: jdbc:mysql://192.168.1.205:3306/wrdep?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
-#          url: jdbc:mysql://49.4.78.194:17136/nerp-test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
-#          url: jdbc:mysql://10.124.252.246:3306/nerp-db-v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
+          url: jdbc:mysql://192.168.1.128:3306/wrdep?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
           username: root
           password: '!QAZ2root'
           driver-class-name: com.mysql.cj.jdbc.Driver
@@ -68,12 +66,10 @@ spring:
                 config:
                   multi-statement-allow: true
         tdengine:
-          url: jdbc:TAOS://192.168.1.208:6030/nerp_db
-#          url: jdbc:TAOS://10.124.252.246:6030/nerp_db
-#          url: jdbc:TAOS://49.4.78.194:17139/nerp_db
+          url: jdbc:TAOS://192.168.1.128:6030/nerp_db
           username: root
-          password: 123456
-#          password: "!QAZ2root"
+#          password: 123456
+          password: "!QAZ2root"
           driver-class-name: com.taosdata.jdbc.TSDBDriver
           type: com.alibaba.druid.pool.DruidDataSource
           druid:
@@ -83,11 +79,11 @@ spring:
   # redis 配置
   redis:
     # 地址
-    host: 192.168.1.205
-#    host: 10.124.252.244
+    host: 192.168.1.128
+    #    host: 10.124.252.244
     # 端口,默认为6379
     port: 6379
-#    port: 17137
+    #    port: 17137
     # 数据库索引
     database: 0
     # 密码

+ 4 - 3
wrdep-biz/src/main/resources/application.yml

@@ -18,7 +18,7 @@ elf:
 # 开发环境配置
 server:
   # 服务器的HTTP端口,默认为8080
-  port: 9091
+  port: 9090
   servlet:
     # 应用的访问路径
     context-path: /
@@ -66,15 +66,16 @@ spring:
   servlet:
     multipart:
       # 单个文件大小
-      max-file-size: 10MB
+      max-file-size: 512MB
       # 设置总上传的文件大小
-      max-request-size: 20MB
+      max-request-size: 512MB
   # 服务模块
   devtools:
     restart:
       # 热部署开关
       enabled: true
 
+
 # token配置
 token:
   # 令牌自定义标识