| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- server:
- port: 10006
- servlet:
- encoding:
- charset: UTF-8
- force: true
- context-path: /payment
- compression:
- enabled: true #开启数据压缩
- mime-types: application/json,application/xml,text/html,text/xml,text/plain
- min-response-size: 2048
- logging:
- file:
- path: log/wookit
- level:
- root: info
- "[javax.management]": INFO
- "[org.apache.http]": INFO
- "[org.apache.tomcat.util.net.NioEndpoint]": INFO
- "[sun.rmi]": INFO
- "[com.alibaba.nacos]": ERROR
- tracer: trace # 开启trace级别日志,在开发时可以开启此配置,则控制台可以打印es全部请求信息及DSL语句,为了避免重复,开启此项配置后,可以将EE的print-dsl设置为false.
- spring:
- application:
- name: paymentservice
- cloud:
- gateway:
- discovery:
- locator:
- lower-case-service-id: true
- enabled: true
- nacos:
- discovery:
- server-addr: 10.16.0.49:8848
- namespace: 02f60846-3747-424e-a598-2ea9e66dfe87
- main:
- allow-bean-definition-overriding: true
- redis:
- host: r-wz968zear8t0d8bkbg.redis.rds.aliyuncs.com #Redis服务器地址
- database: 5 # Redis数据库索引(默认为0)
- port: 6379 # Redis服务器连接端口
- password: yn8Vh85rxvtUPnqB # Redis服务器连接密码(默认为空)
- jedis:
- pool:
- max-active: 100 # 连接池最大连接数(使用负值表示没有限制)
- max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
- max-idle: 20 # 连接池中的最大空闲连接
- min-idle: 10 # 连接池中的最小空闲连接
- datasource:
- url: jdbc:mysql://rm-wz989u6pfs8lb7a22.mysql.rds.aliyuncs.com:3306/paymentservice?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2b8
- username: fujicaV2user
- password: BGbn4jP!mq4jxn@o4fQyp5*@
- type: com.zaxxer.hikari.HikariDataSource
- driver-class-name: com.mysql.cj.jdbc.Driver
- validation-timeout: 3000
- idle-timeout: 60000
- minimum-idle: 30
- read-only: false
- connection-timeout: 60000 #请求连接的超时时间
- maximum-pool-size: 200 #最大连接数量
- max-lifetime: 1800000 #连接的最长生命周期
- connection-test-query: select 1 #连接验证sql
- #指定mybatis映射文件的地址
- mybatis:
- mapper-locations: classpath:mapper/*.xml
- domain:
- # 外网访问项目域名-web
- web: https://fsabk.fujica.com.cn
- # 外网访问项目域名-支付服务
- mainUrl: https://gw.fujica.com.cn
- # 微信-支付通知
- wxNotify: https://gw.fujica.com.cn/payment/callback/wxPayNotify
- # 支付宝-支付通知
- aliNotify: https://gw.fujica.com.cn/payment/callback/aliPayNotify
- rocketmq:
- name-server: 10.16.0.48:9876
- producer:
- group: fujica-producer
- topic:
- topicDcEventAdd: topic_dc_event_add_pro
- topicDcEventBatchAdd: topic_dc_event_batch_add_pro
- topicBindMemberOpenId: topic_bind_member_openid_pro
- topicPayResultSyncList: #支付结果同步到业务服务消息主题
- - type: 1
- name: 临停业务
- topic: topic_pay_result_sync_parking_pro
- - type: 2
- name: 长租车业务
- topic: topic_pay_result_sync_card_pro
- - type: 3
- name: 商户/减免业务
- topic: topic_pay_result_sync_merchant_pro
- - type: 4
- name: 充电业务
- topic: topic_pay_result_sync_power_pro
- - type: 5
- name: 预约业务
- topic: topic_pay_result_sync_reserve_pro
- - type: 6
- name: 临停补缴业务
- topic: topic_pay_result_sync_parking_pro
- consumer:
- topic:
- parkPayCashOrder: park_pay_cash_order_pro
- topicPayRefund: topic_pay_refund_create_pro
- group:
- parkPayCashOrder: park_pay_cash_order_pro
- topicPayRefund: topic_pay_refund_create_pro
- hzbankpay:
- frontEndUrl: https://fsabk.fujica.com.cn/pages/pay/paysuccess
- backEndUrl: /payment/callback/hzbank/payNotify
- sendPayRequestUrl: https://pay.hzbank.com.cn/ifsp-payweb/SOA/txnAccept
|