bem-park-config-service.yml 7.1 KB

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