Browse Source

Revert "修改配置文件"

This reverts commit af77a4896ffcd81968511b4fe224a33a95a31ebb.
yucheng 2 years ago
parent
commit
93846c1e7d
1 changed files with 33 additions and 3 deletions
  1. 33 3
      adm-business/adm-diagram/src/main/resources/bootstrap.yml

+ 33 - 3
adm-business/adm-diagram/src/main/resources/bootstrap.yml

@@ -4,8 +4,6 @@ spring:
   application:
     # 应用名称
     name: adm-diagram
-  main:
-    allow-bean-definition-overriding: true
   datasource:
     dynamic:
       datasource:
@@ -24,4 +22,36 @@ persagy:
     dic:
       service: http://develop.ysbdtp.com/dmp-dic
     file:
-      service: http://develop.ysbdtp.com/dmp-file
+      service: http://develop.ysbdtp.com/dmp-file
+
+#    driver-class-name: com.mysql.cj.jdbc.Driver
+#  datasource:
+#    druid:
+#      filters: stat,slf4j
+#      filter:
+#        wall:
+#          config:
+#            #允许一次执行多条语句
+#            multi-statement-allow: true
+#            #允许非基本语句的其他语句,开启后可以执行DDL语句
+#            none-base-statement-allow: true
+#          enabled: false
+#        slf4j:
+#          enabled: true
+
+config:
+  file:
+    absolute:
+      path: ${CONFIG_FILE_PATH:D:\SpringCloud}
+#feign:
+#  compression:
+#    request:
+#      # 开启请求压缩
+#      enabled: true
+#      # 配置压缩的 MIME TYPE
+#      mime-types: text/xml,application/xml,application/json
+#      # 配置压缩数据大小的下限
+#      min-request-size: 2048
+#    response:
+#      # 开启响应压缩
+#      enabled: true