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_biz1?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
|
dynamic:
|
datasource:
|
druid_bip_view:
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
username: ${MYSQL-USER:tra_in_mdm@masterdata_mysql#ob_prod_phy_x86_04fa}
|
password: ${MYSQL-PWD:L2fbf%2ETRA}
|
url: jdbc:mysql://${MYSQL-HOST:10.116.44.42}:${MYSQL-PORT:3306}/${MYSQL-DB:mdm_send}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&allowPublicKeyRetrieval=true
|
druid_bip_bank_view:
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
username: ${MYSQL-USER:tra_in_mdm@masterdata_mysql#ob_prod_phy_x86_04fa}
|
password: ${MYSQL-PWD:L2fbf%2ETRA}
|
url: jdbc:mysql://${MYSQL-HOST:10.116.44.42}:${MYSQL-PORT:3306}/${MYSQL-DB:tenant_5}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&allowPublicKeyRetrieval=true
|
|
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://bip-pre.res.jzeg.cn/iuap-api-gateway
|
codes: 10860,10802,10801,10861,10668,1086004,1086005
|
appKey: 95578dbdeabc41049b75e8af3dd66d19
|
appSecret: f3a098d7848f87042b39d2cc1645b6c0ffa065cd
|
|
BWInvoice:
|
flag: false
|
url: https://einv01.res.jzeg.cn/post?
|
|
# 5家单位id
|
dept:
|
smj: 2089995177814495234
|
smjsc: 2089996921978040321
|
smjzt: 2089997578009128962
|
sgb: 2056556196124250113
|
jxc: 2056556317461270529
|
tfgs: 2056556421857497090
|
ymj: 2056556535640576002
|
|
#erp推送
|
erp:
|
ymj:
|
smj:
|
sgb:
|
jxc:
|
tfgs:
|