bem-mgr-weixin-service.yml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. spring:
  2. datasource:
  3. name: mydb
  4. url: ${public.datasource.parkdb.url}
  5. username: ${public.datasource.parkdb.mgr-weixin-service.username}
  6. password: ${public.datasource.parkdb.mgr-weixin-service.password}
  7. type: com.alibaba.druid.pool.DruidDataSource
  8. driver-class-name: com.mysql.jdbc.Driver
  9. druid:
  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. redis:
  24. host: ${public.redis.default.host}
  25. port: ${public.redis.default.port}
  26. password: ${public.redis.default.password}
  27. pool:
  28. max-idle: 30
  29. testOnBorrow: false
  30. cloud:
  31. stream:
  32. kafka:
  33. binder:
  34. brokers: kafka-svc:9092
  35. auto-create-topics: false
  36. replication-factor: 3
  37. bindings:
  38. re-car-in-output:
  39. destination: re-car-in
  40. content-type: application/json
  41. producer:
  42. partitionKeyExpression: payload.carNo
  43. # xxl-job config
  44. xxl:
  45. job:
  46. #访问令牌[选填],非空则进行匹配校验
  47. accessToken:
  48. admin:
  49. #执行器注册中心地址[选填],为空则关闭自动注册
  50. #addresses: http://10.10.44.101:9241/xxl-job-admin
  51. #开发环境 http://10.10.44.161:9261/xxl-job-admin 或 http://xxl-job-admin.dev.yidianting.com.cn/xxl-job-admin
  52. addresses: http://xxl-job-admin-svc:9261/xxl-job-admin
  53. executor:
  54. #执行器AppName[选填],为空则关闭自动注册
  55. appname: ${spring.application.name}
  56. #执行器IP[选填],为空则自动获取
  57. ip:
  58. #执行器端口号[选填],小于等于0则自动获取
  59. port: 9232
  60. #执行器日志路径[选填],为空则使用默认路径
  61. logpath: /home/ake/app/mgr-weixin/log/xxl-job
  62. #日志保存天数[选填],值大于3时生效
  63. logretentiondays: -1
  64. # 一点停开发票地址
  65. open_invoice_url: https://${public.domain.vos}/weixin/html/invoice.do
  66. ribbon:
  67. ReadTimeout: 20000
  68. ConnectTimeout: 10000
  69. kafka:
  70. servers: ${public.kafka.default.brokers}
  71. sendTimeout : 2000
  72. rpc:
  73. port: 8019
  74. mgr:
  75. weixin:
  76. config:
  77. domain: https://${public.domain.vos}/mgr-weixin
  78. mgr-api-url:
  79. mgr-api-key:
  80. couponQrUrl:
  81. weixinUrl: https://${public.domain.vos}/weixin/html/coupon/grantTraderCoupon.do
  82. weixin-motan-domain-url: ${public.domain.vos}
  83. # 导出纸质券生成二维码所用密钥
  84. qrCodeKey: SHf2eJck0IdfIiWYwn5BapkOXNcPV10t #固定值
  85. # 导出纸质券-生成券上二维码的访问地址
  86. qrCodeUrl: https://${public.domain.vos}/gtr?s=%s&g=%s&si=%s
  87. fdfs-accessible-http-url: https://${oss.aliyun.oss.publicBucketName}.${oss.aliyun.oss.endPoint}/
  88. baidu-map-ak:
  89. # 车位预订-微信消息模版id
  90. booking-weixin-template-id: ${wechat.user.mp.template-msg.booking-weixin-template-id}
  91. canGrantMultiCouponToCar-operatorId-list: 0,6
  92. isQROutOfValid: true
  93. coupon:
  94. api:
  95. merge:
  96. num:
  97. # 当接口券模板数量小于等于此值时合并券模板(创建电子券并售卖接口)
  98. template: 1
  99. # 当接口售卖数量小于等于此值时合并售卖记录(创建电子券并售卖接口)
  100. sell: 1
  101. # 开放平台访问地址和一个包含所有功能的授权商帐号密码
  102. openydt:
  103. url: https://${public.domain.openydt}/openydt/api/v2/
  104. key: ${public.openydt.key}
  105. secret: ${public.openydt.secret}
  106. #微信公众号相关
  107. weixin:
  108. appid:
  109. mchid:
  110. key:
  111. secret:
  112. forward-domain: https://${public.domain.vos}/mgr-weixin
  113. logging:
  114. level:
  115. org.springframework: WARN
  116. cn.akeparking.zbcloud: DEBUG
  117. cn.akeparking.pomp: DEBUG
  118. org.spring.springboot.dao: DEBUG
  119. com.ake: DEBUG