1
0

application.yml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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: org.mariadb.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: org.mariadb.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. # 队列配置
  54. rabbitmq:
  55. host: 120.76.26.84
  56. port: 5672
  57. username: admin
  58. password: Abc-123#
  59. virtual-host: /
  60. redis:
  61. # JedisCluster
  62. jedis-cluster:
  63. # Redis Cluster 主机列表
  64. redis-cluster-host-list:
  65. - host: 120.76.84.45
  66. port: 7000
  67. - host: 120.76.84.45
  68. port: 7001
  69. - host: 120.76.84.45
  70. port: 7002
  71. - host: 120.76.26.84
  72. port: 7003
  73. - host: 120.76.26.84
  74. port: 7004
  75. - host: 120.76.26.84
  76. port: 7005
  77. # password: Abc-123#*.-
  78. # 连接超时时间(秒), 默认 2*1000
  79. connection-timeout: 5000
  80. # so-timeout:
  81. # 最大重试次数
  82. max-attempts: 5
  83. # password:
  84. pool-config:
  85. # 连接池管理的对象实例最大数, 默认 8
  86. max-total: 8
  87. # 连接池中最大闲置连接数, 默认 8
  88. max-idle: 8
  89. # 连接池中最小闲置连接数, 默认 0
  90. min-idle: 0
  91. # mybatis config 多数据源
  92. # 以下配置非官方配置
  93. mybatis:
  94. primary:
  95. # 加载MyBatis配置文件
  96. config-location: classpath:mybatis/mybatis-config.xml
  97. mapper-locations: classpath:mybatis/mapper/ccnet/**/*.xml
  98. # SqlSessionFactoryBean搜索实体beans并注册别名, 多个以逗号分隔
  99. type-aliases-package: com.emato.ccnet.wx.dao.entity.ccnet
  100. middle:
  101. # 加载MyBatis配置文件
  102. config-location: classpath:mybatis/mybatis-config.xml
  103. mapper-locations: classpath:mybatis/mapper/wx/**/*.xml
  104. # SqlSessionFactoryBean搜索实体beans并注册别名, 多个以逗号分隔
  105. type-aliases-package: com.emato.ccnet.wx.dao.entity.wx
  106. db:
  107. # 电子订单数据发送csp
  108. ceb311-send-csp:
  109. data-size: 2
  110. # 请求微盟的订单数据
  111. ccnet-send-wm:
  112. page-num: 1
  113. page-size: 20
  114. ceb311-send-wx:
  115. data-size: 2
  116. wx-send-ccnet:
  117. page-size: 20
  118. # 商户信息
  119. merchant:
  120. code: zwkj
  121. #平台编号
  122. plat-sn: 146001
  123. #平台中文名
  124. plat-name: 中网商城
  125. #商户海关备案编号
  126. merchant-customs-code: 4403160Z3Y
  127. #商户海关备案名称
  128. merchant-customs-name: 中网科技(深圳)有限公司
  129. # 海关业务信息
  130. cus:
  131. message:
  132. # 是否格式化XML报文,主要用于调试程序,生产环境不能格式化(必须为false)
  133. format: false
  134. # 报文存放目录
  135. saveDir: /entity/SZEPORT/send/CEB411/zw/
  136. # 海关电子订单配置参数
  137. order:
  138. # e码头CSP系统
  139. emato-csp:
  140. order-url: http://120.76.26.84:8880/order/add
  141. # ws
  142. waybill:
  143. # e码头OMS系统
  144. emato-oms:
  145. # 秘钥
  146. secret-key: IxyIvP0sJqlUZinx
  147. # 地址 http://wstest.ds-bay.com/bds/order 店提
  148. shop-url: http://ws.ds-bay.com/al/shop/bdd/cb/order
  149. # 备货
  150. bds-url: http://ws.ds-bay.com/al/bds/order
  151. # 补货
  152. bdd-url: http://ws.ds-bay.com/al/bdd/supplement/order
  153. #校验
  154. check-url: http://ws.ds-bay.com/al/cbnf/buyerPayer/check
  155. # 快递公司标识
  156. exprComrId: yunda
  157. # 快递类型
  158. exprType: '00'
  159. #支付信息
  160. play:
  161. current: wx
  162. wx:
  163. #微信公众ID
  164. app-id: wxb6b30b1b14ee502a
  165. #微信支付商户号
  166. mch-id: 1501125641
  167. #财富通编号:
  168. pay-code: 440316T004
  169. #财富通备案名称:
  170. pay-name: 财付通支付科技有限公司
  171. #海关
  172. customs: SHENZHEN
  173. #地址
  174. play-url: http://120.76.26.84:9999/wx/custom/wxCbPay