application-prod.yml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # 环境配置
  2. server:
  3. port: 9001 # -- 订单查询
  4. # port: 9005 # -- 审批推送
  5. servlet:
  6. context-path: /api/xintianlong
  7. # condition
  8. spel:
  9. scheduling: false # 定时任务是否执行
  10. multiSource: true # 是否多数据源配置 -- 订单查询
  11. spring:
  12. # # database
  13. # datasource:
  14. # driver-class-name: com.mysql.cj.jdbc.Driver
  15. # username: root
  16. # password: cp-root@2022++
  17. # url: jdbc:mysql://47.110.74.198:3306/mjava?serverTimezone=Asia/Shanghai&useUnicode=yes&characterEncoding=UTF-8&useSSL=true
  18. # jpa:
  19. # database: MYSQL
  20. # database-platform: org.hibernate.dialect.MySQL57Dialect
  21. # # 数据库版本
  22. # flyway:
  23. # enabled: false # 需要配置 jpa.hibernate.ddl-auto 为 none. 否则 flyway.enabled 配置会无效, 在没有数库连接情况下程序无法启动
  24. # encoding: UTF-8
  25. # locations: classpath:db/migration # 迁移sql脚本文件存放路径,默认db/migration
  26. # sql-migration-prefix: V # 迁移sql脚本文件名称的前缀,默认V
  27. # sql-migration-separator: __ # 迁移sql脚本文件名称的分隔符,默认2个下划线__
  28. # sql-migration-suffixes: .sql # 迁移sql脚本文件名称的后缀
  29. # validate-on-migrate: true # 迁移时是否进行校验,默认true
  30. # baseline-on-migrate: true # 当迁移发现数据库非空且存在没有元数据的表时,自动执行基准迁移,新建schema_version表
  31. # sql_server
  32. datasource:
  33. driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  34. url: jdbc:sqlserver://122.224.41.74:4335;SelectMethod=cursor;DatabaseName=HSDyeingERP
  35. username: HYKJ
  36. password: XTL527204628#123
  37. # 灏宇
  38. primary:
  39. username: HYKJ
  40. password: XTL527204628#123
  41. jdbc-url: jdbc:sqlserver://122.224.41.74:4335;SelectMethod=cursor;DatabaseName=HSDyeingERP
  42. # 金塔
  43. slave:
  44. username: JTKS
  45. password: XTL527204628@
  46. jdbc-url: jdbc:sqlserver://122.224.41.74:4336;SelectMethod=cursor;DatabaseName=HSDyeingERP
  47. # JPA
  48. jpa:
  49. database: sql_server
  50. properties:
  51. hibernate:
  52. default_schema: dbo
  53. hibernate:
  54. ddl-auto: none
  55. naming:
  56. # 取消小驼峰到下划线映射
  57. implicit-strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
  58. physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
  59. # dingtalk
  60. dingtalk:
  61. agentId: 2533464721
  62. appKey: dingromjxexd1esgvwwg
  63. appSecret: AcStrL5bdw69gqeUfTQiFoBsgqisL2g-egzaKyID9Q7d85f_z9EkuTSS9Vse6zDb
  64. corpId: ding5e83ad92d917b47535c2f4657eb6378f
  65. aesKey: NgBOhTTp38RmPYs3gz7xBRHGNhwLHAv3tZntZ6He54F
  66. token: yLQuiiYIBvrzN3tmOduDn
  67. # aliwork
  68. aliwork:
  69. appType: APP_IW1FN8PPGGYQBWVMXS69
  70. systemToken: UT866MB1WGX8VU029U93IA9DIKEG2GE9UU7FLI5