application-global.yml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. # 服务配置
  2. server:
  3. address: 183.62.225.124
  4. port: 9580
  5. servlet:
  6. context-path:
  7. # 当前环境
  8. spring:
  9. profiles: global
  10. # 数据源
  11. datasource:
  12. primary:
  13. # 数据源zaxxer HikariCP
  14. type: com.zaxxer.hikari.HikariDataSource
  15. driver-class-name: org.mariadb.jdbc.Driver
  16. url: jdbc:mysql://out-rm-wz9rps8173a1nx63gio.mysql.rds.aliyuncs.com:3306/ccnet_wx_global?useSSL=false&useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=convertToNull
  17. username: ccnet_wx
  18. password: b$bFB*86yy
  19. hikari:
  20. read-only: true
  21. connection-timeout: 10000
  22. validation-timeout: 5000
  23. idle-timeout: 600000
  24. max-lifetime: 1200000
  25. maximum-pool-size: 3
  26. minimum-idle: 3
  27. middle:
  28. # 数据源zaxxer HikariCP
  29. type: com.zaxxer.hikari.HikariDataSource
  30. driver-class-name: org.mariadb.jdbc.Driver
  31. url: jdbc:mysql://out-rm-wz9rps8173a1nx63gio.mysql.rds.aliyuncs.com:3306/kmall_pt_global?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8
  32. username: kmall_pt
  33. password: AFnwRBu!3q
  34. hikari:
  35. read-only: true
  36. connection-timeout: 10000
  37. validation-timeout: 5000
  38. idle-timeout: 600000
  39. max-lifetime: 1200000
  40. maximum-pool-size: 3
  41. minimum-idle: 3
  42. three:
  43. # 数据源zaxxer HikariCP
  44. type: com.zaxxer.hikari.HikariDataSource
  45. driver-class-name: org.mariadb.jdbc.Driver
  46. url: jdbc:mysql://out-rm-wz9rps8173a1nx63gio.mysql.rds.aliyuncs.com:3306/oms_write?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
  47. username: out_qhm
  48. password: r%4PEusOn&
  49. hikari:
  50. read-only: true
  51. connection-timeout: 10000
  52. validation-timeout: 5000
  53. idle-timeout: 600000
  54. max-lifetime: 1200000
  55. maximum-pool-size: 3
  56. minimum-idle: 3
  57. # 队列配置
  58. rabbitmq:
  59. host: 120.76.26.84
  60. port: 5672
  61. username: admin
  62. password: Abc-123#
  63. virtual-host: /
  64. redis:
  65. # JedisCluster
  66. jedis-cluster:
  67. # Redis Cluster 主机列表
  68. redis-cluster-host-list:
  69. - host: 120.76.84.45
  70. port: 7000
  71. - host: 120.76.84.45
  72. port: 7001
  73. - host: 120.76.84.45
  74. port: 7002
  75. - host: 120.76.26.84
  76. port: 7003
  77. - host: 120.76.26.84
  78. port: 7004
  79. - host: 120.76.26.84
  80. port: 7005
  81. password: Abc-123#*.-
  82. # 连接超时时间(秒), 默认 2*1000
  83. connection-timeout: 5000
  84. # so-timeout:
  85. # 最大重试次数
  86. max-attempts: 5
  87. # password:
  88. pool-config:
  89. # 连接池管理的对象实例最大数, 默认 8
  90. max-total: 8
  91. # 连接池中最大闲置连接数, 默认 8
  92. max-idle: 8
  93. # 连接池中最小闲置连接数, 默认 0
  94. min-idle: 0
  95. # 海关业务信息
  96. cus:
  97. message:
  98. # 是否格式化XML报文,主要用于调试程序,生产环境不能格式化(必须为false)
  99. format: false
  100. # 报文存放目录
  101. saveDir: /entity/SZEPORT/send/CEB411/zw/
  102. # 海关电子订单配置参数
  103. order:
  104. # e码头CSP系统
  105. emato-csp:
  106. order-url: http://120.76.26.84:8880/order/add
  107. # ws
  108. waybill:
  109. # e码头OMS系统
  110. emato-oms:
  111. # 地址 http://wstest.ds-bay.com/bds/order 店提
  112. shop-url: http://ws.ds-bay.com/al/shop/bdd/cb/order
  113. # 备货
  114. bds-url: http://ws.ds-bay.com/al/bds/order
  115. # 补货
  116. bdd-url: http://ws.ds-bay.com/al/bdd/supplement/order
  117. #校验
  118. check-url: http://ws.ds-bay.com/al/cbnf/buyerPayer/check
  119. # 快递公司标识
  120. exprComrId: yto
  121. # 快递类型
  122. exprType: '60'
  123. #支付信息
  124. play:
  125. current: wx
  126. wx:
  127. #中网国际微信公众ID
  128. app-id: wx59c05dcbb3ef2f36
  129. #微信支付商户号
  130. mch-id: 103106626
  131. #财富通编号:
  132. pay-code: 440316T004
  133. #财富通备案名称:
  134. pay-name: 财付通支付科技有限公司
  135. #海关
  136. customs: SHENZHEN
  137. #地址
  138. play-url: http://120.76.26.84:9999/wx/custom/wxCbPay