123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- wechat:
- appid: ${wechat.park.miniprogram.appid} #小程序appid
- secret: ${wechat.park.miniprogram.secret} # 小程序secret
- inmessage: ${wechat.park.mp.template-msg.carin-message-id}
- outmessage: ${wechat.park.mp.template-msg.carout-message-id}
- #入车多次订阅消息模板
- inSubscriptionTemplate: u0naJ3L32p4NCC5uVx5Ta3ZoxcjGrThDw_m3gpiwiRo
- #出车多次订阅消息模板
- outSubscriptionTemplate: chZyVCI7wIMzETSS3f6ocvRDN39pisofAVtQ8lFvawM
- #岗亭端小程userOpenid redis key 前缀
- appletUserOpenidCacheKey: ydtp-backend-applet-user-openid
- spring:
- datasource:
- name: mydb
- url: ${public.datasource.parkdb.url}
- username: ${public.datasource.parkdb.charge-service.username}
- password: ${public.datasource.parkdb.charge-service.password}
- # 使用druid数据源
- type: com.alibaba.druid.pool.DruidDataSource
- driver-class-name: com.mysql.jdbc.Driver
- druid:
- filters: stat
- maxActive: 20
- initialSize: 1
- maxWait: 60000
- minIdle: 1
- timeBetweenEvictionRunsMillis: 60000
- minEvictableIdleTimeMillis: 300000
- validationQuery: select 'x'
- testWhileIdle: true
- testOnBorrow: false
- testOnReturn: false
- poolPreparedStatements: true
- maxOpenPreparedStatements: 20
- 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: 172.21.1.177:9092
- auto-create-topics: false
- min-partition-count: 3
- bindings:
- duty-message:
- destination: duty-message
- producer:
- key-serializer: org.apache.kafka.common.serialization.ByteArraySerializer
- value-serializer: org.apache.kafka.common.serialization.ByteArraySerializer
- partitionKeyExpression: payload.park_id
- duty-message-json-output:
- destination: duty-message-json
- content-type: application/json
- #producer:
- # partitionKeyExpression: payload.park_id
- duty-message-json-input:
- destination: duty-message-json
- content-type: application/json
- group: ${spring.application.name}
- http:
- multipart:
- maxFileSize: 100Mb
- maxRequestSize: 120Mb
-
- kafka:
- consumer:
- group-id: ${spring.application.name}
- mybatis:
- mapperLocations: classpath*:mapper/*Mapper.xml,classpath*:mapper/**/*Mapper.xml
- # 分页配置
- pagehelper:
- helper-dialect: mysql
- reasonable: true
- support-methods-arguments: true
- params: count=countSql
- ribbon:
- ReadTimeout: 60000
- ConnectTimeout: 60000
-
- ydt:
- domain: https://${public.domain.vos}
- logging:
- level:
- org.apache.kafka: DEBUG
- org.springframework: DEBUG
- cn.akeparking.zbcloud.account.dao: DEBUG
- com.netflix: DEBUG
- duty-message:
- car-owe-info:
- # 是否开启消息处理时查找车辆欠费信息,默认true,开启
- searching-enabled: true
-
- weixin:
- appid: ${wechat.open.appid}
- secret: ${wechat.open.secret}
- token: ${wechat.open.token}
- thumb_media_id: ${wechat.park.mp.media.scan-bind-thumb-media-id}
- redirect_uri: https://${public.domain.mgr}/sentry/
- follow_tips: 请先关注"一点停车场"公众号再进行交接班
- appletUserOpenidCacheKey: ydtp-backend-applet-user-openid
|