paymentservice-pro.yaml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. server:
  2. port: 10006
  3. servlet:
  4. encoding:
  5. charset: UTF-8
  6. force: true
  7. context-path: /payment
  8. compression:
  9. enabled: true #开启数据压缩
  10. mime-types: application/json,application/xml,text/html,text/xml,text/plain
  11. min-response-size: 2048
  12. logging:
  13. file:
  14. path: log/wookit
  15. level:
  16. root: info
  17. "[javax.management]": INFO
  18. "[org.apache.http]": INFO
  19. "[org.apache.tomcat.util.net.NioEndpoint]": INFO
  20. "[sun.rmi]": INFO
  21. "[com.alibaba.nacos]": ERROR
  22. tracer: trace # 开启trace级别日志,在开发时可以开启此配置,则控制台可以打印es全部请求信息及DSL语句,为了避免重复,开启此项配置后,可以将EE的print-dsl设置为false.
  23. spring:
  24. application:
  25. name: paymentservice
  26. cloud:
  27. gateway:
  28. discovery:
  29. locator:
  30. lower-case-service-id: true
  31. enabled: true
  32. nacos:
  33. discovery:
  34. server-addr: 10.16.0.49:8848
  35. namespace: 02f60846-3747-424e-a598-2ea9e66dfe87
  36. main:
  37. allow-bean-definition-overriding: true
  38. redis:
  39. host: r-wz968zear8t0d8bkbg.redis.rds.aliyuncs.com #Redis服务器地址
  40. database: 5 # Redis数据库索引(默认为0)
  41. port: 6379 # Redis服务器连接端口
  42. password: yn8Vh85rxvtUPnqB # Redis服务器连接密码(默认为空)
  43. jedis:
  44. pool:
  45. max-active: 100 # 连接池最大连接数(使用负值表示没有限制)
  46. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  47. max-idle: 20 # 连接池中的最大空闲连接
  48. min-idle: 10 # 连接池中的最小空闲连接
  49. datasource:
  50. url: jdbc:mysql://rm-wz989u6pfs8lb7a22.mysql.rds.aliyuncs.com:3306/paymentservice?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2b8
  51. username: fujicaV2user
  52. password: BGbn4jP!mq4jxn@o4fQyp5*@
  53. type: com.zaxxer.hikari.HikariDataSource
  54. driver-class-name: com.mysql.cj.jdbc.Driver
  55. validation-timeout: 3000
  56. idle-timeout: 60000
  57. minimum-idle: 30
  58. read-only: false
  59. connection-timeout: 60000 #请求连接的超时时间
  60. maximum-pool-size: 200 #最大连接数量
  61. max-lifetime: 1800000 #连接的最长生命周期
  62. connection-test-query: select 1 #连接验证sql
  63. #指定mybatis映射文件的地址
  64. mybatis:
  65. mapper-locations: classpath:mapper/*.xml
  66. domain:
  67. # 外网访问项目域名-web
  68. web: https://fsabk.fujica.com.cn
  69. # 外网访问项目域名-支付服务
  70. mainUrl: https://gw.fujica.com.cn
  71. # 微信-支付通知
  72. wxNotify: https://gw.fujica.com.cn/payment/callback/wxPayNotify
  73. # 支付宝-支付通知
  74. aliNotify: https://gw.fujica.com.cn/payment/callback/aliPayNotify
  75. rocketmq:
  76. name-server: 10.16.0.48:9876
  77. producer:
  78. group: fujica-producer
  79. topic:
  80. topicDcEventAdd: topic_dc_event_add_pro
  81. topicDcEventBatchAdd: topic_dc_event_batch_add_pro
  82. topicBindMemberOpenId: topic_bind_member_openid_pro
  83. topicPayResultSyncList: #支付结果同步到业务服务消息主题
  84. - type: 1
  85. name: 临停业务
  86. topic: topic_pay_result_sync_parking_pro
  87. - type: 2
  88. name: 长租车业务
  89. topic: topic_pay_result_sync_card_pro
  90. - type: 3
  91. name: 商户/减免业务
  92. topic: topic_pay_result_sync_merchant_pro
  93. - type: 4
  94. name: 充电业务
  95. topic: topic_pay_result_sync_power_pro
  96. - type: 5
  97. name: 预约业务
  98. topic: topic_pay_result_sync_reserve_pro
  99. - type: 6
  100. name: 临停补缴业务
  101. topic: topic_pay_result_sync_parking_pro
  102. consumer:
  103. topic:
  104. parkPayCashOrder: park_pay_cash_order_pro
  105. topicPayRefund: topic_pay_refund_create_pro
  106. group:
  107. parkPayCashOrder: park_pay_cash_order_pro
  108. topicPayRefund: topic_pay_refund_create_pro
  109. hzbankpay:
  110. frontEndUrl: https://fsabk.fujica.com.cn/pages/pay/paysuccess
  111. backEndUrl: /payment/callback/hzbank/payNotify
  112. sendPayRequestUrl: https://pay.hzbank.com.cn/ifsp-payweb/SOA/txnAccept