cuida
9 天以前 fd60f7ce6025c761e2836ffcbbb70894aee946fa
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
spring:
  data:
    redis:
      host: 127.0.0.1
      password: 123456
      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