| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- server:
- port: 10002
- servlet:
- encoding:
- charset: UTF-8
- force: true
- context-path: /park
- 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: parkservice
- 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
- redis:
- host: r-wz968zear8t0d8bkbg.redis.rds.aliyuncs.com #Redis服务器地址
- database: 2 # Redis数据库索引(默认为0)
- port: 6379 # Redis服务器连接端口
- password: yn8Vh85rxvtUPnqB # Redis服务器连接密码(默认为空)
- prefix: fsv2_pro
- 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/parkservice?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: 100 #最大连接数量
- max-lifetime: 1800000 #连接的最长生命周期
- connection-test-query: SELECT 1
- #指定mybatis映射文件的地址
- mybatis:
- mapper-locations: classpath:mapper/*.xml
- park:
- qrcode:
- img-width: 400
- img-height: 400
- decode-url: https://gw.fujica.com.cn/transfer/mobile/qrcode/decode #二维码解码地址
- err-page-url: https://fsabk.fujica.com.cn/pages/h5/errorPage #解析到错误二维码跳转地址
- types:
- - type: 1
- url: https://fsabk.fujica.com.cn/pages/pay/paycost
- name: 场内码
- - type: 2
- url: https://fsabk.fujica.com.cn/pages/h5/parkIn
- name: 入口码
- - type: 3
- url: https://fsabk.fujica.com.cn/pages/pay/pay
- name: 出口码
- - type: 4
- url: https://fsabk.fujica.com.cn/pages/pay/getCoupon
- name: 减免领取码(静态)
- - type: 5
- url: https://fsabk.fujica.com.cn/pages/pay/getCoupon
- name: 减免领取码(动态)
- save-mode: 2 #存redis
- - type: 6
- url: https://fsabk.fujica.com.cn/pages/h5/assignPlate
- name: 获取虚拟车牌
- - type: 7
- url: http://www.baidu.com
- name: 缴费机找零
- - type: 8
- url: https://fsabk.fujica.com.cn/map
- name: 反向寻车
- rocketmq:
- name-server: 10.16.0.48:9876
- producer:
- group: fujica-producer
- topic:
- topicParkInfo: topic_park_info_pro
- topicParkPlace: topic_park_place_pro
- topicParkLane: topic_park_lane_pro
- dc: #数据中心主题配置
- eventAdd: topic_dc_event_add_pro
- eventBatchAdd: topic_dc_event_batch_add_pro
- serviceAdd: topic_dc_service_add_pro
- serviceBatchAdd: topic_dc_service_batch_add_pro
- serviceBatchDelete: topic_dc_service_batch_del_pro
- serviceBatchUpdate: topic_dc_service_batch_update_pro
- serviceDelete: topic_dc_service_del_pro
- serviceUpdate: topic_dc_service_update_pro
- consumer:
- topic:
- parkResiduePlace: park_residue_place_pro
- reserveRealTime: park_reserve_realtime_pro
- projectOnlineStatus: topic_project_online_status_pro
- controlGateResult: park_gate_operate_result_pro
- upPlaceInoutCar: upplaceinoutcar_sync_pro
- placeReserve: place_reserve_v2_pro
- placeReserveE8Confirm: park_book_e8_confirm_pro
- placeReserveLockResult: park_reserve_lock_result_pro
- payresult: topic_pay_result_sync_reserve_pro
- topicExPushParkIn: ex_park_in_data_pro
- topicExPushParkOut: ex_park_out_data_pro
- parkBookPrepaidFee: park_book_prepaid_fee_pro
- parkBookPrepaidFeeNotice: park_book_prepaid_fee_notice_pro
- parkBookPrepaidFeeRefund: park_book_prepaid_fee_refund_pro
- parkLaneStatus: park_lane_status_pro
- payrefundresult: topic_pay_refund_sync_pro
- temopayresult: topic_pay_result_sync_parking_pro
- group:
- parkResiduePlace: park_residue_place_pro
- reserveRealTime: park_reserve_realtime_pro
- projectOnlineStatus: topic_project_online_status_pro
- controlGateResult: park_gate_operate_result_pro
- upPlaceInoutCar: upplaceinoutcar_sync_pro
- placeReserve: place_reserve_v2_pro
- placeReserveE8Confirm: park_book_e8_confirm_pro
- placeReserveLockResult: park_reserve_lock_result_pro
- payresult: topic_pay_result_sync_reserve_pro
- topicExPushParkIn: ex_park_in_data_park_pro
- topicExPushParkOut: ex_park_out_data_park_pro
- parkBookPrepaidFee: park_book_prepaid_fee_pro
- parkBookPrepaidFeeNotice: park_book_prepaid_fee_notice_pro
- parkBookPrepaidFeeRefund: park_book_prepaid_fee_refund_pro
- parkLaneStatus: park_lane_status_pro
- payrefundresult: topic_pay_refund_sync_pro
- temopayresult: book_topic_pay_result_sync_parking_pro
- async:
- thread-pool: #为@Async功能配置的线程池
- park: #车场通用线程池
- core-pool-size: 2
- max-pool-size: 10
- queue-capacity: 1000
- name-prefix: park
- xxl:
- job:
- admin:
- addresses: http://10.16.0.49:8088/xxl-job-admin
- executor:
- appname: parkservice
- address:
- port: 9999
- logretentiondays: 30
- accessToken: default_token
- feign:
- httpclient:
- enabled: true #开启feign连接池
- max-connections: 100
- max-connections-per-route: 50
- client:
- config:
- default:
- connect-timeout: 2000 #默认连接超时时间
- read-timeout: 8000 #默认请求超时时间
- payCenterProxy:
- connect-timeout: 2000 #代理服务连接超时时间
- read-timeout: 25000 #代理服务请求超时时
- external:
- api:
- reservation-base-url: fscarpointsystem:30130
- park-info-sync-url: /park/tparklist/addBatch
- connect-timeout: 5000
- read-timeout: 10000
|