shiyunteng
9 天以前 b10eaf44249ab441e6f058d037861ae97daf77fd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
spring:
  data:
    redis:
      host: 127.0.0.1
      database: 0
  # 数据库相关配置
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    druid:
      url: jdbc:mysql://192.168.0.146:3306/platformxx_business_finance_biz?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
      username: root
      password: root
      driver-class-name: com.mysql.cj.jdbc.Driver
  jpa:
    # 自动生成表结构
    hibernate:
      ddl-auto: update
    show-sql: true
# 可选:显示实际加载的配置
#logging:
#  level:
#    org.springframework.boot.autoconfigure.jdbc.DataSourceProperties: DEBUG
#    com.baomidou.dynamic: DEBUG
 
security:
  # 登录报文加密根密钥 ,必须是16位
  encodeKey: pigxpigxpigxpigx
 
# 配置文件加密根密码
jasypt:
  encryptor:
    password: platformx
    algorithm: PBEWithMD5AndDES
    iv-generator-classname: org.jasypt.iv.NoIvGenerator
 
# swagger 配置
swagger:
  token-url: ${swagger.gateway}/admin/oauth2/token
 
 
easy-es:
  compatible: true # 兼容模式开关,默认为false,若您的es客户端版本小于8.x,务必设置为true才可正常使用,8.x及以上则可忽略此项配置
  enable: true #默认为true,若为false则认为不启用本框架
  address : 192.168.0.7:9200 # es的连接地址,必须含端口 若为集群,则可以用逗号隔开 例如:127.0.0.1:9200,127.0.0.2:9200