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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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
 
#bip 配置
bip:
  flag: false
  url: https://bip01.res.jzeg.cn
  codes: 111111111111111111111111,222222222222222222
  appKey: 800b2805c5584f0abb8705acbe487dc5
  appSecret: 59ba72c62a6a27203d7e517787a738be89ba55cb
 
BWInvoice:
  flag: false
  url: https://einv01.res.jzeg.cn/post?
 
# 5家单位id
dept:
  smj: 2056555602756063234
  sgb: 2056556196124250113
  jxc: 2056556317461270529
  tfgs: 2056556421857497090
  ymj: 2056556535640576002