bem-park-config-service.yml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. spring:
  2. datasource:
  3. druid:
  4. name: mydb
  5. url: ${public.datasource.parkdb.url}
  6. username: ${public.datasource.parkdb.cpmp-service.username}
  7. password: ${public.datasource.parkdb.cpmp-service.password}
  8. type: com.alibaba.druid.pool.DruidDataSource
  9. driver-class-name: com.mysql.jdbc.Driver
  10. filters: stat
  11. maxActive: 200
  12. initialSize: 20
  13. maxWait: 60000
  14. minIdle: 20
  15. timeBetweenEvictionRunsMillis: 60000
  16. minEvictableIdleTimeMillis: 300000
  17. validationQuery: select 'x'
  18. testWhileIdle: true
  19. testOnBorrow: false
  20. testOnReturn: false
  21. poolPreparedStatements: true
  22. maxOpenPreparedStatements: 100
  23. http:
  24. multipart:
  25. max-file-size: 100MB
  26. max-request-size: 100MB
  27. cache:
  28. type: redis
  29. redis:
  30. open: true # 是否开启redis缓存 true开启 false关闭
  31. database: 0
  32. host: ${public.redis.default.host}
  33. port: ${public.redis.default.port}
  34. password: ${public.redis.default.password}
  35. timeout: 6000 # 连接超时时长(毫秒)
  36. pool:
  37. max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
  38. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  39. max-idle: 10 # 连接池中的最大空闲连接
  40. min-idle: 5 # 连接池中的最小空闲连接
  41. cloud:
  42. stream:
  43. kafka:
  44. binder:
  45. brokers: 172.21.1.177:9092
  46. auto-create-topics: false
  47. min-partition-count: 3
  48. bindings:
  49. park-remain-carport-input:
  50. destination: remain-carport-v1
  51. #destination: new-remain-carport
  52. group: ${spring.application.name}
  53. park-car-in-out-input:
  54. destination: common_park_req
  55. group: ${spring.application.name}
  56. consumer:
  57. headerMode: raw
  58. park-change-output:
  59. destination: cloud-configuration-change
  60. producer:
  61. key-serializer: org.apache.kafka.common.serialization.ByteArraySerializer
  62. value-serializer: org.apache.kafka.common.serialization.ByteArraySerializer
  63. partitionKeyExpression: payload.data.parkCode
  64. mybatis:
  65. mapperLocations: classpath:mapper/**/*Mapper.xml
  66. mybatis-plus:
  67. mapperLocations: classpath:mapper/**/*Mapper.xml
  68. configuration:
  69. map-underscore-to-camel-case: true
  70. ribbon:
  71. ReadTimeout: 50000
  72. ConnectTimeout: 500000
  73. #微信公众号 用于支付配置中生成JSON需要动态查询weixinAccount表 锁定是生产还是测试还是研发环境 获取主键ID
  74. weixinAccount:
  75. domainUrl: ${public.domain.vos}
  76. # 分页配置
  77. pagehelper:
  78. helper-dialect: mysql
  79. reasonable: true
  80. support-methods-arguments: true
  81. params: count=countSql
  82. # 异常提示文本
  83. exceptionMsgConstants:
  84. PARAM_ERROR_NULL: 参数不能为空
  85. PARK_NAME_EXIST: 车场名称重复
  86. parkConfigConstants:
  87. #跳转一点停某个车场的月票购买页面链接模版
  88. buyParkMonthTicketFromYdtUrlTemplate: https://${public.domain.vos}/weixin/html/uiHtml.do?act=monthbuy&parkId={parkId}
  89. #初始化停车场 标签的值
  90. flagTagVal: 云停车场
  91. #生成计费规则XML的项目所在服务器临时存放目录
  92. chargexml:
  93. path: /home/ake/app/park-config/chargexml/
  94. #通道二维码实际URL地址模板
  95. channelQr:
  96. url: https://${public.domain.vos}/r%s/%d/%d
  97. #访客二维码实际URL地址模板
  98. visitor:
  99. url: https://${public.domain.vos}/p{parkId}
  100. aompRefreshRedisUrl: 0
  101. operatorQr:
  102. url: https://${public.domain.vos}/op{operatorId}
  103. domain: https://${public.domain.vos}
  104. #运营商模板文件KEY
  105. operatorPark:
  106. template:
  107. operatorParkBaseTemplatePic: zbclound-oss/park-config/template/车场图例模板.jpg
  108. operatorParkChargeTemplatePic: zbclound-oss/park-config/template/收费规则模板.jpg
  109. operatorParkProtocolTemplateFile: zbclound-oss/park-config/template/运营商车场协议模板.docx
  110. operatorParkChannelDisplayLCDScreen: zbclound-oss/park-config/template/LCD_SCREEN.jpg
  111. #语音播报文本
  112. voiceText:
  113. volumeTest: 音量测试
  114. volumeOpen: 开
  115. volumeClose: 关
  116. openFullLimit: 满位限行
  117. openFuzzyMatch: 模糊匹配
  118. offLineReleaseModelAuto: 离线自动放行模式
  119. offLineReleaseModelManual: 离线手动放行模式
  120. normalCarPassModeAuto: 临时车自动放行
  121. normalCarPassModeManual: 临时车手动放行
  122. localVipCarPassModeAuto: VIP自动放行
  123. localVipCarPassModeManual: VIP手动放行
  124. vipNotInPassModeAuto: VIP无在场自动放行
  125. vipNotInPassModeManual: VIP无在场手动放行
  126. dynamicVipToNormalModeAuto: 多位多车VIP转临时车自动放行
  127. dynamicVipToNormalModeManual: 多位多车VIP转临时车手动放行
  128. noChannelModeAuto: 无通道权限VIP转临时车自动放行
  129. noChannelModeManual: 无通道权限VIP转临时车手动放行
  130. noPlatePassModeSelf: 无牌车自助进出
  131. noPlatePassModeManual: 无牌车手动放行
  132. noPlatePassModeAuto: 无牌车自动放行
  133. blacklistModeAuto: 黑名单自动放行
  134. blacklistModeManual: 黑名单手动放行
  135. redlistModeAuto: 白名单自动放行
  136. redlistModeManual: 白名单手动放行
  137. visitorlistModeAuto: 访客自动放行
  138. visitorlistModeManual: 访客手动放行
  139. #屏显内容的模板
  140. displayContent:
  141. currentTimeT: '%T'
  142. channelName: '%CN'
  143. tempRemainParkingPlaceNumber: '%TVTCW'
  144. slotsRemainParkingPlaceNumber: '%TLCW'
  145. displayQRPic: '%PTQR'
  146. displayPicDomain: '%PTDM'
  147. MonthRemainParkingPlaceNumber: '%YPCW'
  148. #线程池配置
  149. channelExecutorConfig:
  150. corePoolSize: 300
  151. maxPoolSize: 800
  152. queueCapacity: 10
  153. keepAliveSeconds: 1
  154. #线程池配置
  155. tideChannelExecutorConfig:
  156. corePoolSize: 100
  157. maxPoolSize: 500
  158. queueCapacity: 80
  159. keepAliveSeconds: 1
  160. xxl:
  161. job:
  162. admin:
  163. #执行器注册中心地址[选填],为空则关闭自动注册
  164. address: https://bem-xxl-job-admin-test.yidianting.com.cn/xxl-job-admin/
  165. executor:
  166. #执行器AppName[选填],为空则关闭自动注册
  167. appname: park-config-service
  168. #执行器IP[选填],为空则自动获取
  169. ip:
  170. #执行器端口号[选填],小于等于0则自动获取
  171. port: 9032
  172. #执行器日志路径[选填],为空则使用默认路径
  173. logpath: /home/ake/app/park-config/joblog
  174. #日志保存天数[选填],值大于3时生效
  175. logretentiondays: 5
  176. #访问令牌[选填],非空则进行匹配校验
  177. accessToken:
  178. logging:
  179. level:
  180. org.springframework: DEBUG
  181. cn.akeparking.zbcloud: DEBUG
  182. cn.akeparking.zbcloud.parkconfig.dao: DEBUG
  183. org.spring.springboot.dao: DEBUG
  184. org.apache.kafka: DEBUG
  185. freeswitch.group-api-url: ${freeswitch.lua-api-url}?group.lua
  186. valueAdd:
  187. qrUrlValue: