parkservice-pro.yaml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. server:
  2. port: 10002
  3. servlet:
  4. encoding:
  5. charset: UTF-8
  6. force: true
  7. context-path: /park
  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: parkservice
  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. redis:
  37. host: r-wz968zear8t0d8bkbg.redis.rds.aliyuncs.com #Redis服务器地址
  38. database: 2 # Redis数据库索引(默认为0)
  39. port: 6379 # Redis服务器连接端口
  40. password: yn8Vh85rxvtUPnqB # Redis服务器连接密码(默认为空)
  41. prefix: fsv2_pro
  42. jedis:
  43. pool:
  44. max-active: 100 # 连接池最大连接数(使用负值表示没有限制)
  45. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  46. max-idle: 20 # 连接池中的最大空闲连接
  47. min-idle: 10 # 连接池中的最小空闲连接
  48. datasource:
  49. url: jdbc:mysql://rm-wz989u6pfs8lb7a22.mysql.rds.aliyuncs.com:3306/parkservice?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2b8
  50. username: fujicaV2user
  51. password: BGbn4jP!mq4jxn@o4fQyp5*@
  52. type: com.zaxxer.hikari.HikariDataSource
  53. driver-class-name: com.mysql.cj.jdbc.Driver
  54. validation-timeout: 3000
  55. idle-timeout: 60000
  56. minimum-idle: 30
  57. read-only: false
  58. connection-timeout: 60000 #请求连接的超时时间
  59. maximum-pool-size: 100 #最大连接数量
  60. max-lifetime: 1800000 #连接的最长生命周期
  61. connection-test-query: SELECT 1
  62. #指定mybatis映射文件的地址
  63. mybatis:
  64. mapper-locations: classpath:mapper/*.xml
  65. park:
  66. qrcode:
  67. img-width: 400
  68. img-height: 400
  69. decode-url: https://gw.fujica.com.cn/transfer/mobile/qrcode/decode #二维码解码地址
  70. err-page-url: https://fsabk.fujica.com.cn/pages/h5/errorPage #解析到错误二维码跳转地址
  71. types:
  72. - type: 1
  73. url: https://fsabk.fujica.com.cn/pages/pay/paycost
  74. name: 场内码
  75. - type: 2
  76. url: https://fsabk.fujica.com.cn/pages/h5/parkIn
  77. name: 入口码
  78. - type: 3
  79. url: https://fsabk.fujica.com.cn/pages/pay/pay
  80. name: 出口码
  81. - type: 4
  82. url: https://fsabk.fujica.com.cn/pages/pay/getCoupon
  83. name: 减免领取码(静态)
  84. - type: 5
  85. url: https://fsabk.fujica.com.cn/pages/pay/getCoupon
  86. name: 减免领取码(动态)
  87. save-mode: 2 #存redis
  88. - type: 6
  89. url: https://fsabk.fujica.com.cn/pages/h5/assignPlate
  90. name: 获取虚拟车牌
  91. - type: 7
  92. url: http://www.baidu.com
  93. name: 缴费机找零
  94. - type: 8
  95. url: https://fsabk.fujica.com.cn/map
  96. name: 反向寻车
  97. rocketmq:
  98. name-server: 10.16.0.48:9876
  99. producer:
  100. group: fujica-producer
  101. topic:
  102. topicParkInfo: topic_park_info_pro
  103. topicParkPlace: topic_park_place_pro
  104. topicParkLane: topic_park_lane_pro
  105. dc: #数据中心主题配置
  106. eventAdd: topic_dc_event_add_pro
  107. eventBatchAdd: topic_dc_event_batch_add_pro
  108. serviceAdd: topic_dc_service_add_pro
  109. serviceBatchAdd: topic_dc_service_batch_add_pro
  110. serviceBatchDelete: topic_dc_service_batch_del_pro
  111. serviceBatchUpdate: topic_dc_service_batch_update_pro
  112. serviceDelete: topic_dc_service_del_pro
  113. serviceUpdate: topic_dc_service_update_pro
  114. consumer:
  115. topic:
  116. parkResiduePlace: park_residue_place_pro
  117. reserveRealTime: park_reserve_realtime_pro
  118. projectOnlineStatus: topic_project_online_status_pro
  119. controlGateResult: park_gate_operate_result_pro
  120. upPlaceInoutCar: upplaceinoutcar_sync_pro
  121. placeReserve: place_reserve_v2_pro
  122. placeReserveE8Confirm: park_book_e8_confirm_pro
  123. placeReserveLockResult: park_reserve_lock_result_pro
  124. payresult: topic_pay_result_sync_reserve_pro
  125. topicExPushParkIn: ex_park_in_data_pro
  126. topicExPushParkOut: ex_park_out_data_pro
  127. parkBookPrepaidFee: park_book_prepaid_fee_pro
  128. parkBookPrepaidFeeNotice: park_book_prepaid_fee_notice_pro
  129. parkBookPrepaidFeeRefund: park_book_prepaid_fee_refund_pro
  130. parkLaneStatus: park_lane_status_pro
  131. payrefundresult: topic_pay_refund_sync_pro
  132. temopayresult: topic_pay_result_sync_parking_pro
  133. group:
  134. parkResiduePlace: park_residue_place_pro
  135. reserveRealTime: park_reserve_realtime_pro
  136. projectOnlineStatus: topic_project_online_status_pro
  137. controlGateResult: park_gate_operate_result_pro
  138. upPlaceInoutCar: upplaceinoutcar_sync_pro
  139. placeReserve: place_reserve_v2_pro
  140. placeReserveE8Confirm: park_book_e8_confirm_pro
  141. placeReserveLockResult: park_reserve_lock_result_pro
  142. payresult: topic_pay_result_sync_reserve_pro
  143. topicExPushParkIn: ex_park_in_data_park_pro
  144. topicExPushParkOut: ex_park_out_data_park_pro
  145. parkBookPrepaidFee: park_book_prepaid_fee_pro
  146. parkBookPrepaidFeeNotice: park_book_prepaid_fee_notice_pro
  147. parkBookPrepaidFeeRefund: park_book_prepaid_fee_refund_pro
  148. parkLaneStatus: park_lane_status_pro
  149. payrefundresult: topic_pay_refund_sync_pro
  150. temopayresult: book_topic_pay_result_sync_parking_pro
  151. async:
  152. thread-pool: #为@Async功能配置的线程池
  153. park: #车场通用线程池
  154. core-pool-size: 2
  155. max-pool-size: 10
  156. queue-capacity: 1000
  157. name-prefix: park
  158. xxl:
  159. job:
  160. admin:
  161. addresses: http://10.16.0.49:8088/xxl-job-admin
  162. executor:
  163. appname: parkservice
  164. address:
  165. port: 9999
  166. logretentiondays: 30
  167. accessToken: default_token
  168. feign:
  169. httpclient:
  170. enabled: true #开启feign连接池
  171. max-connections: 100
  172. max-connections-per-route: 50
  173. client:
  174. config:
  175. default:
  176. connect-timeout: 2000 #默认连接超时时间
  177. read-timeout: 8000 #默认请求超时时间
  178. payCenterProxy:
  179. connect-timeout: 2000 #代理服务连接超时时间
  180. read-timeout: 25000 #代理服务请求超时时
  181. external:
  182. api:
  183. reservation-base-url: fscarpointsystem:30130
  184. park-info-sync-url: /park/tparklist/addBatch
  185. connect-timeout: 5000
  186. read-timeout: 10000