123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- spring:
- datasource:
- name: mydb
- url: ${public.datasource.parkdb.url}
- username: ${public.datasource.parkdb.park-config-service.username}
- password: ${public.datasource.parkdb.park-config-service.password}
- # 使用druid数据源
- type: com.alibaba.druid.pool.DruidDataSource
- driver-class-name: com.mysql.jdbc.Driver
- druid:
- filters: stat
- maxActive: 100
- initialSize: 10
- maxWait: 60000
- minIdle: 10
- timeBetweenEvictionRunsMillis: 60000
- minEvictableIdleTimeMillis: 300000
- validationQuery: select 'x'
- testWhileIdle: true
- testOnBorrow: false
- testOnReturn: false
- poolPreparedStatements: true
- maxOpenPreparedStatements: 20
- http:
- multipart:
- max-file-size: 100MB
- max-request-size: 100MB
- cache:
- type: redis
- redis:
- open: true # 是否开启redis缓存 true开启 false关闭
- database: 0
- host: ${public.redis.default.host}
- port: ${public.redis.default.port}
- password: ${public.redis.default.password}
- timeout: 6000 # 连接超时时长(毫秒)
- pool:
- max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
- max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
- max-idle: 10 # 连接池中的最大空闲连接
- min-idle: 5 # 连接池中的最小空闲连接
- cloud:
- stream:
- kafka:
- binder:
- brokers: ${public.kafka.default.brokers}
- auto-create-topics: false
- min-partition-count: 3
- bindings:
- park-remain-carport-input:
- destination: remain-carport-v1
- #destination: new-remain-carport
- group: ${spring.application.name}
- park-car-in-out-input:
- destination: common_park_req
- group: ${spring.application.name}
- consumer:
- headerMode: raw
- park-change-output:
- destination: cloud-configuration-change
- producer:
- key-serializer: org.apache.kafka.common.serialization.ByteArraySerializer
- value-serializer: org.apache.kafka.common.serialization.ByteArraySerializer
- partitionKeyExpression: payload.data.parkCode
-
- mybatis:
- mapperLocations: classpath:mapper/**/*Mapper.xml
- mybatis-plus:
- mapperLocations: classpath:mapper/**/*Mapper.xml
- configuration:
- map-underscore-to-camel-case: true
- ribbon:
- ReadTimeout: 50000
- ConnectTimeout: 500000
- #微信公众号 用于支付配置中生成JSON需要动态查询weixinAccount表 锁定是生产还是测试还是研发环境 获取主键ID
- weixinAccount:
- domainUrl: ${public.domain.vos}
- # 分页配置
- pagehelper:
- helper-dialect: mysql
- reasonable: true
- support-methods-arguments: true
- params: count=countSql
- # 异常提示文本
- exceptionMsgConstants:
- PARAM_ERROR_NULL: 参数不能为空
- PARK_NAME_EXIST: 车场名称重复
- parkConfigConstants:
- #跳转一点停某个车场的月票购买页面链接模版
- buyParkMonthTicketFromYdtUrlTemplate: https://${public.domain.vos}/weixin/html/uiHtml.do?act=monthbuy&parkId={parkId}
- #初始化停车场 标签的值
- flagTagVal: 云停车场
- #生成计费规则XML的项目所在服务器临时存放目录
- chargexml:
- path: /home/ake/app/park-config/chargexml/
- #通道二维码实际URL地址模板
- channelQr:
- url: https://${public.domain.vos}/r%s/%d/%d
- #访客二维码实际URL地址模板
- visitor:
- url: https://${public.domain.vos}/p{parkId}
- aompRefreshRedisUrl: 0
- operatorQr:
- url: https://${public.domain.vos}/op{operatorId}
- domain: https://${public.domain.vos}
-
- #运营商模板文件KEY
- operatorPark:
- template:
- operatorParkBaseTemplatePic: zbclound-oss/park-config/template/车场图例模板.jpg
- operatorParkChargeTemplatePic: zbclound-oss/park-config/template/收费规则模板.jpg
- operatorParkProtocolTemplateFile: zbclound-oss/park-config/template/运营商车场协议模板.docx
- operatorParkChannelDisplayLCDScreen: zbclound-oss/park-config/template/LCD_SCREEN.jpg
- #语音播报文本
- voiceText:
- volumeTest: 音量测试
- volumeOpen: 开
- volumeClose: 关
- openFullLimit: 满位限行
- openFuzzyMatch: 模糊匹配
- offLineReleaseModelAuto: 离线自动放行模式
- offLineReleaseModelManual: 离线手动放行模式
- normalCarPassModeAuto: 临时车自动放行
- normalCarPassModeManual: 临时车手动放行
- localVipCarPassModeAuto: VIP自动放行
- localVipCarPassModeManual: VIP手动放行
- vipNotInPassModeAuto: VIP无在场自动放行
- vipNotInPassModeManual: VIP无在场手动放行
- dynamicVipToNormalModeAuto: 多位多车VIP转临时车自动放行
- dynamicVipToNormalModeManual: 多位多车VIP转临时车手动放行
- noChannelModeAuto: 无通道权限VIP转临时车自动放行
- noChannelModeManual: 无通道权限VIP转临时车手动放行
- noPlatePassModeSelf: 无牌车自助进出
- noPlatePassModeManual: 无牌车手动放行
- noPlatePassModeAuto: 无牌车自动放行
- blacklistModeAuto: 黑名单自动放行
- blacklistModeManual: 黑名单手动放行
- redlistModeAuto: 白名单自动放行
- redlistModeManual: 白名单手动放行
- visitorlistModeAuto: 访客自动放行
- visitorlistModeManual: 访客手动放行
- #屏显内容的模板
- displayContent:
- currentTimeT: '%T'
- channelName: '%CN'
- tempRemainParkingPlaceNumber: '%TVTCW'
- slotsRemainParkingPlaceNumber: '%TLCW'
- displayQRPic: '%PTQR'
- displayPicDomain: '%PTDM'
- MonthRemainParkingPlaceNumber: '%YPCW'
- #线程池配置
- channelExecutorConfig:
- corePoolSize: 300
- maxPoolSize: 800
- queueCapacity: 10
- keepAliveSeconds: 1
- #线程池配置
- tideChannelExecutorConfig:
- corePoolSize: 100
- maxPoolSize: 500
- queueCapacity: 80
- keepAliveSeconds: 1
- xxl:
- job:
- admin:
- #执行器注册中心地址[选填],为空则关闭自动注册
- address: http://xxl-job-admin.k8s.yidianting.com.cn/xxl-job-admin/
- executor:
- #执行器AppName[选填],为空则关闭自动注册
- appname: park-config-service
- #执行器IP[选填],为空则自动获取
- ip:
- #执行器端口号[选填],小于等于0则自动获取
- port: 9032
- #执行器日志路径[选填],为空则使用默认路径
- logpath: /home/ake/app/park-config/joblog
- #日志保存天数[选填],值大于3时生效
- logretentiondays: 5
- #访问令牌[选填],非空则进行匹配校验
- accessToken:
- logging:
- level:
- org.springframework: DEBUG
- cn.akeparking.zbcloud: DEBUG
- cn.akeparking.zbcloud.parkconfig.dao: DEBUG
- org.spring.springboot.dao: DEBUG
- org.apache.kafka: DEBUG
-
- freeswitch.group-api-url: ${freeswitch.lua-api-url}?group.lua
- valueAdd:
- qrUrlValue:
- registry.cn-shenzhen.aliyuncs.com
- akeparking
- bem-center-monitor-service
- bem-charge-service
- bem-park-config-service
- bem-mgr-service
- bem-cpmp-service
- npm config set registry https://registry.npm.taobao.org --global
- cnpm install node-sass
- source /etc/profile
- echo $PATH
- node -v
- npm -v
- cnpm -v
- # yarn -v
- rm -rf node_modules
- npm cache clean -f
- cnpm cache clean -f
- cnpm install
- npm run setVersion -- $git_tag
- # yarn run setVersion -- $git_tag
- cnpm run build --modern
|