|
@@ -11,10 +11,10 @@ server:
|
|
|
min-response-size: 1024
|
|
|
mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
|
|
|
management:
|
|
|
- endpoints:
|
|
|
- web:
|
|
|
- exposure:
|
|
|
- include: metrics,httptrace
|
|
|
+ endpoints:
|
|
|
+ web:
|
|
|
+ exposure:
|
|
|
+ include: metrics,httptrace
|
|
|
spring:
|
|
|
cloud:
|
|
|
nacos:
|
|
@@ -22,9 +22,9 @@ spring:
|
|
|
server-addr: 127.0.0.1:8848
|
|
|
service: jeecg-cloud-material
|
|
|
servlet:
|
|
|
- multipart:
|
|
|
- max-file-size: 10MB
|
|
|
- max-request-size: 10MB
|
|
|
+ multipart:
|
|
|
+ max-file-size: 10MB
|
|
|
+ max-request-size: 10MB
|
|
|
mail:
|
|
|
host: smtp.163.com
|
|
|
username: jeecgos@163.com
|
|
@@ -38,8 +38,8 @@ spring:
|
|
|
required: true
|
|
|
#json 时间戳统一转换
|
|
|
jackson:
|
|
|
- date-format: yyyy-MM-dd HH:mm:ss
|
|
|
- time-zone: GMT+8
|
|
|
+ date-format: yyyy-MM-dd HH:mm:ss
|
|
|
+ time-zone: GMT+8
|
|
|
jpa:
|
|
|
open-in-view: false
|
|
|
activiti:
|
|
@@ -106,14 +106,18 @@ spring:
|
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
|
datasource:
|
|
|
master:
|
|
|
-# url: jdbc:mysql://103.46.170.107:3390/application?characterEncoding=UTF-8&useUnicode=true&allowMultiQueries=true&serverTimezone=GMT%2B8
|
|
|
-# username: hcst
|
|
|
-# password: hcst@2021
|
|
|
+ # url: jdbc:mysql://103.46.170.107:3390/application?characterEncoding=UTF-8&useUnicode=true&allowMultiQueries=true&serverTimezone=GMT%2B8
|
|
|
+ # username: hcst
|
|
|
+ # password: hcst@2021
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
# 多数据源配置
|
|
|
#multi-datasource1:
|
|
|
- url: jdbc:mysql://192.168.0.184:3390/jeecg-boot?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
- username: hcst
|
|
|
+ #------------------------内网
|
|
|
+ # url: jdbc:mysql://192.168.0.184:3390/jeecg-boot?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
+ # username: hcst
|
|
|
+ # password: hcst@2021
|
|
|
+ url: jdbc:mysql://139.186.27.96:3390/jeecg-boot?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
+ username: data
|
|
|
password: hcst@2021
|
|
|
#driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
#redis 配置
|
|
@@ -142,11 +146,11 @@ mybatis-plus:
|
|
|
table-underline: true
|
|
|
configuration:
|
|
|
# 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
|
|
|
-# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
+ # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
# 返回类型为Map,显示null对应的字段
|
|
|
call-setters-on-nulls: true
|
|
|
#jeecg专用配置
|
|
|
-jeecg :
|
|
|
+jeecg:
|
|
|
oss:
|
|
|
secretKey:
|
|
|
accessKey:
|