| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- # 环境配置
- server:
- port: 9001 # -- 订单查询
- # port: 9005 # -- 审批推送
- servlet:
- context-path: /api/xintianlong
- # condition
- spel:
- scheduling: false # 定时任务是否执行
- multiSource: true # 是否多数据源配置 -- 订单查询
- spring:
- # # database
- # datasource:
- # driver-class-name: com.mysql.cj.jdbc.Driver
- # username: root
- # password: cp-root@2022++
- # url: jdbc:mysql://47.110.74.198:3306/mjava?serverTimezone=Asia/Shanghai&useUnicode=yes&characterEncoding=UTF-8&useSSL=true
- # jpa:
- # database: MYSQL
- # database-platform: org.hibernate.dialect.MySQL57Dialect
- # # 数据库版本
- # flyway:
- # enabled: false # 需要配置 jpa.hibernate.ddl-auto 为 none. 否则 flyway.enabled 配置会无效, 在没有数库连接情况下程序无法启动
- # encoding: UTF-8
- # locations: classpath:db/migration # 迁移sql脚本文件存放路径,默认db/migration
- # sql-migration-prefix: V # 迁移sql脚本文件名称的前缀,默认V
- # sql-migration-separator: __ # 迁移sql脚本文件名称的分隔符,默认2个下划线__
- # sql-migration-suffixes: .sql # 迁移sql脚本文件名称的后缀
- # validate-on-migrate: true # 迁移时是否进行校验,默认true
- # baseline-on-migrate: true # 当迁移发现数据库非空且存在没有元数据的表时,自动执行基准迁移,新建schema_version表
- # sql_server
- datasource:
- driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
- url: jdbc:sqlserver://122.224.41.74:4335;SelectMethod=cursor;DatabaseName=HSDyeingERP
- username: HYKJ
- password: XTL527204628#123
- # 灏宇
- primary:
- username: HYKJ
- password: XTL527204628#123
- jdbc-url: jdbc:sqlserver://122.224.41.74:4335;SelectMethod=cursor;DatabaseName=HSDyeingERP
- # 金塔
- slave:
- username: JTKS
- password: XTL527204628@
- jdbc-url: jdbc:sqlserver://122.224.41.74:4336;SelectMethod=cursor;DatabaseName=HSDyeingERP
- # JPA
- jpa:
- database: sql_server
- properties:
- hibernate:
- default_schema: dbo
- hibernate:
- ddl-auto: none
- naming:
- # 取消小驼峰到下划线映射
- implicit-strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
- physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
- # dingtalk
- dingtalk:
- agentId: 2533464721
- appKey: dingromjxexd1esgvwwg
- appSecret: AcStrL5bdw69gqeUfTQiFoBsgqisL2g-egzaKyID9Q7d85f_z9EkuTSS9Vse6zDb
- corpId: ding5e83ad92d917b47535c2f4657eb6378f
- aesKey: NgBOhTTp38RmPYs3gz7xBRHGNhwLHAv3tZntZ6He54F
- token: yLQuiiYIBvrzN3tmOduDn
- # aliwork
- aliwork:
- appType: APP_IW1FN8PPGGYQBWVMXS69
- systemToken: UT866MB1WGX8VU029U93IA9DIKEG2GE9UU7FLI5
|