spring: datasource: name: mydb url: ${public.datasource.parkdb.url} username: ${public.datasource.parkdb.mgr-weixin-service.username} password: ${public.datasource.parkdb.mgr-weixin-service.password} type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.jdbc.Driver druid: filters: stat maxActive: 200 initialSize: 20 maxWait: 60000 minIdle: 20 timeBetweenEvictionRunsMillis: 60000 minEvictableIdleTimeMillis: 300000 validationQuery: select 'x' testWhileIdle: true testOnBorrow: false testOnReturn: false poolPreparedStatements: true maxOpenPreparedStatements: 100 redis: host: ${public.redis.default.host} port: ${public.redis.default.port} password: ${public.redis.default.password} pool: max-idle: 30 testOnBorrow: false cloud: stream: kafka: binder: brokers: kafka-svc:9092 auto-create-topics: false replication-factor: 3 bindings: re-car-in-output: destination: re-car-in content-type: application/json producer: partitionKeyExpression: payload.carNo # xxl-job config xxl: job: #访问令牌[选填],非空则进行匹配校验 accessToken: admin: #执行器注册中心地址[选填],为空则关闭自动注册 #addresses: http://10.10.44.101:9241/xxl-job-admin #开发环境 http://10.10.44.161:9261/xxl-job-admin 或 http://xxl-job-admin.dev.yidianting.com.cn/xxl-job-admin addresses: http://xxl-job-admin-svc:9261/xxl-job-admin executor: #执行器AppName[选填],为空则关闭自动注册 appname: ${spring.application.name} #执行器IP[选填],为空则自动获取 ip: #执行器端口号[选填],小于等于0则自动获取 port: 9232 #执行器日志路径[选填],为空则使用默认路径 logpath: /home/ake/app/mgr-weixin/log/xxl-job #日志保存天数[选填],值大于3时生效 logretentiondays: -1 # 一点停开发票地址 open_invoice_url: https://${public.domain.vos}/weixin/html/invoice.do ribbon: ReadTimeout: 20000 ConnectTimeout: 10000 kafka: servers: kafka-svc:9092 sendTimeout : 2000 rpc: port: 8019 mgr: weixin: config: domain: https://${public.domain.vos}/mgr-weixin mgr-api-url: mgr-api-key: couponQrUrl: weixinUrl: https://${public.domain.vos}/weixin/html/coupon/grantTraderCoupon.do weixin-motan-domain-url: ${public.domain.vos} # 导出纸质券生成二维码所用密钥 qrCodeKey: SHf2eJck0IdfIiWYwn5BapkOXNcPV10t #固定值 # 导出纸质券-生成券上二维码的访问地址 qrCodeUrl: https://${public.domain.vos}/gtr?s=%s&g=%s&si=%s fdfs-accessible-http-url: https://${oss.aliyun.oss.publicBucketName}.${oss.aliyun.oss.endPoint}/ baidu-map-ak: # 车位预订-微信消息模版id booking-weixin-template-id: ${wechat.user.mp.template-msg.booking-weixin-template-id} canGrantMultiCouponToCar-operatorId-list: 0,6 isQROutOfValid: true coupon: api: merge: num: # 当接口券模板数量小于等于此值时合并券模板(创建电子券并售卖接口) template: 1 # 当接口售卖数量小于等于此值时合并售卖记录(创建电子券并售卖接口) sell: 1 # 开放平台访问地址和一个包含所有功能的授权商帐号密码 openydt: url: https://${public.domain.openydt}/openydt/api/v2/ key: ${public.openydt.key} secret: ${public.openydt.secret} #微信公众号相关 weixin: appid: mchid: key: secret: forward-domain: https://${public.domain.vos}/mgr-weixin logging: level: org.springframework: WARN cn.akeparking.zbcloud: DEBUG cn.akeparking.pomp: DEBUG org.spring.springboot.dao: DEBUG com.ake: DEBUG