application.yml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. #---------- ccnet-weimob 项目 ----------#
  2. # 项目配置
  3. app:
  4. name: ccnet-wx-mp
  5. description: ${app.name} Project
  6. # 服务配置
  7. server:
  8. address: 183.3.221.143
  9. port: 9580
  10. servlet:
  11. context-path: /
  12. ds:
  13. worker-id: 1
  14. datacenter-id: 1
  15. # 使用环境
  16. spring:
  17. profiles:
  18. active: dev
  19. aop:
  20. proxy-target-class: true
  21. # 数据源
  22. datasource:
  23. primary:
  24. # 数据源zaxxer HikariCP
  25. type: com.zaxxer.hikari.HikariDataSource
  26. driver-class-name: com.mysql.jdbc.Driver
  27. url: jdbc:mysql://out-rm-wz9rps8173a1nx63gio.mysql.rds.aliyuncs.com:3306/ccnet_wx?useSSL=false&useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=convertToNull
  28. username: ccnet_wx
  29. password: b$bFB*86yy
  30. hikari:
  31. read-only: true
  32. connection-timeout: 10000
  33. validation-timeout: 5000
  34. idle-timeout: 600000
  35. max-lifetime: 1200000
  36. maximum-pool-size: 3
  37. minimum-idle: 3
  38. middle:
  39. # 数据源zaxxer HikariCP
  40. type: com.zaxxer.hikari.HikariDataSource
  41. driver-class-name: com.mysql.jdbc.Driver
  42. url: jdbc:mysql://out-rm-wz9rps8173a1nx63gio.mysql.rds.aliyuncs.com:3306/kmall_pt?useSSL=false&useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=convertToNull
  43. username: kmall_pt
  44. password: AFnwRBu!3q
  45. hikari:
  46. read-only: true
  47. connection-timeout: 10000
  48. validation-timeout: 5000
  49. idle-timeout: 600000
  50. max-lifetime: 1200000
  51. maximum-pool-size: 3
  52. minimum-idle: 3
  53. three:
  54. # 数据源zaxxer HikariCP
  55. type: com.zaxxer.hikari.HikariDataSource
  56. driver-class-name: com.mysql.jdbc.Driver
  57. url: jdbc:mysql://out-rm-wz9rps8173a1nx63gio.mysql.rds.aliyuncs.com:3306/oms_write?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
  58. username: out_qhm
  59. password: r%4PEusOn&
  60. hikari:
  61. read-only: true
  62. connection-timeout: 10000
  63. validation-timeout: 5000
  64. idle-timeout: 600000
  65. max-lifetime: 1200000
  66. maximum-pool-size: 3
  67. minimum-idle: 3
  68. # 队列配置
  69. rabbitmq:
  70. host: 120.76.26.84
  71. port: 5672
  72. username: admin
  73. password: Abc-123#
  74. virtual-host: /
  75. redis:
  76. # JedisCluster
  77. jedis-cluster:
  78. # Redis Cluster 主机列表
  79. redis-cluster-host-list:
  80. - host: 120.76.84.45
  81. port: 7000
  82. - host: 120.76.84.45
  83. port: 7001
  84. - host: 120.76.84.45
  85. port: 7002
  86. - host: 120.76.26.84
  87. port: 7003
  88. - host: 120.76.26.84
  89. port: 7004
  90. - host: 120.76.26.84
  91. port: 7005
  92. password: Abc-123#*.-
  93. # 连接超时时间(秒), 默认 2*1000
  94. connection-timeout: 5000
  95. # so-timeout:
  96. # 最大重试次数
  97. max-attempts: 5
  98. # password:
  99. pool-config:
  100. # 连接池管理的对象实例最大数, 默认 8
  101. max-total: 8
  102. # 连接池中最大闲置连接数, 默认 8
  103. max-idle: 8
  104. # 连接池中最小闲置连接数, 默认 0
  105. min-idle: 0
  106. # mybatis config 多数据源
  107. # 以下配置非官方配置
  108. mybatis:
  109. primary:
  110. # 加载MyBatis配置文件
  111. config-location: classpath:mybatis/mybatis-config.xml
  112. mapper-locations: classpath:mybatis/mapper/ccnet/**/*.xml
  113. # SqlSessionFactoryBean搜索实体beans并注册别名, 多个以逗号分隔
  114. type-aliases-package: com.emato.ccnet.wx.dao.entity.ccnet
  115. middle:
  116. # 加载MyBatis配置文件
  117. config-location: classpath:mybatis/mybatis-config.xml
  118. mapper-locations: classpath:mybatis/mapper/wx/**/*.xml
  119. # SqlSessionFactoryBean搜索实体beans并注册别名, 多个以逗号分隔
  120. type-aliases-package: com.emato.ccnet.wx.dao.entity.wx
  121. three:
  122. # 加载MyBatis配置文件
  123. config-location: classpath:mybatis/mybatis-config.xml
  124. mapper-locations: classpath:mybatis/mapper/oms/**/*.xml
  125. # SqlSessionFactoryBean搜索实体beans并注册别名, 多个以逗号分隔
  126. type-aliases-package: com.emato.ccnet.wx.dao.entity.oms
  127. db:
  128. # 电子订单数据发送csp
  129. ceb311-send-csp:
  130. data-size: 2
  131. # 请求微盟的订单数据
  132. ccnet-send-wm:
  133. page-num: 1
  134. page-size: 20
  135. ceb311-send-wx:
  136. data-size: 2
  137. wx-send-ccnet:
  138. page-size: 20
  139. # 商户信息
  140. merchant:
  141. code: zwkj
  142. #平台编号
  143. plat-sn: 146001
  144. #平台中文名
  145. plat-name: 中网商城
  146. #商户海关备案编号
  147. merchant-customs-code: 4403160Z3Y
  148. #商户海关备案名称
  149. merchant-customs-name: 中网科技(深圳)有限公司
  150. # 海关业务信息
  151. cus:
  152. message:
  153. # 是否格式化XML报文,主要用于调试程序,生产环境不能格式化(必须为false)
  154. format: false
  155. # 报文存放目录
  156. saveDir: /entity/SZEPORT/send/CEB411/zw/
  157. # 海关电子订单配置参数
  158. order:
  159. # e码头CSP系统
  160. emato-csp:
  161. order-url: http://120.76.26.84:8880/order/add
  162. # ws
  163. waybill:
  164. # e码头OMS系统
  165. emato-oms:
  166. # 地址 http://wstest.ds-bay.com/bds/order 店提
  167. shop-url: http://ws.ds-bay.com/al/shop/bdd/cb/order
  168. # 备货
  169. bds-url: http://ws.ds-bay.com/al/bds/order
  170. # 补货
  171. bdd-url: http://ws.ds-bay.com/al/bdd/supplement/order
  172. #校验
  173. check-url: http://ws.ds-bay.com/al/cbnf/buyerPayer/check
  174. # 快递公司标识
  175. exprComrId: yunda
  176. # 快递类型
  177. exprType: '00'
  178. #支付信息
  179. play:
  180. current: wx
  181. wx:
  182. #中网微信公众ID
  183. app-id: wxb6b30b1b14ee502a
  184. #微信支付商户号
  185. mch-id: 1501125641
  186. #财富通编号:
  187. pay-code: 440316T004
  188. #财富通备案名称:
  189. pay-name: 财付通支付科技有限公司
  190. #海关
  191. customs: SHENZHEN
  192. #地址
  193. play-url: http://120.76.26.84:9999/wx/custom/wxCbPay