application.yml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. #--------- 公共固定值 --- #
  2. eureka:
  3. client:
  4. #从Eureka Server拉取服务列表的时间间隔
  5. registryFetchIntervalSeconds: 5
  6. ribbon:
  7. #ribbon从Eureka缓存拉取服务列表时间间隔
  8. ServerListRefreshInterval: 5000
  9. #安全下线相关配置
  10. safely-shutdown:
  11. filtered-service: zbcloud-server-config,zbcloud-server-discovery,zbcloud-server-admin,bem-xxl-job-admin,charge-server-service,zbcloud-grey-server
  12. customContextPath:
  13. mgr-weixin-service: /mgr-weixin
  14. mgr-service: /mgr
  15. #关闭health部分检测
  16. management:
  17. health:
  18. db.enabled: false
  19. mail.enabled: false
  20. redis.enabled: false
  21. mongo.enabled: false
  22. health.config.enabled: false
  23. spring:
  24. datasource:
  25. druid:
  26. stat-view-servlet:
  27. login-username: admin #durid监控的账号
  28. login-password: ake123 #durid监控的密码
  29. public:
  30. domain:
  31. openydt: openapi-test.yidianting.com.cn
  32. vos: https://devnew.yidianting.xin
  33. aomp: bem-aomp-test.yidianting.com.cn
  34. center-monitor:
  35. cpmp: bem-cpmp-test.yidianting.com.cn
  36. mgr: bem-mgr-test.yidianting.com.cn
  37. xxljob: bem-xxl-job-admin-test.yidianting.com.cn
  38. zbcloud-grey: grey-test.yidianting.com.cn
  39. mgr-weixin: bem-mgr-weixin.k8s.yidianting.com.cn
  40. freeswitch: test.huanghuaht.yidianting.com.cn
  41. openydt:
  42. key: default
  43. secret: 5nz03ofq5hz66x9l4zouqlfb1g3wj856
  44. datasource:
  45. parkdb:
  46. url: jdbc:mysql://rm-wz935586522b8f5o4.mysql.rds.aliyuncs.com:3306/test_bem_park?characterEncoding=utf-8 #数据库地址
  47. aomp-service:
  48. username: test_bem_park
  49. password: bUKH39tsqBeyLliSaT37
  50. center-monitor-service:
  51. username: test_bem_park
  52. password: bUKH39tsqBeyLliSaT37
  53. cpmp-service:
  54. username: test_bem_park
  55. password: bUKH39tsqBeyLliSaT37
  56. mgr-service:
  57. username: test_bem_park
  58. password: bUKH39tsqBeyLliSaT37
  59. mgr-weixin-service:
  60. username: test_bem_park
  61. password: bUKH39tsqBeyLliSaT37
  62. park-config-service:
  63. username: test_bem_park
  64. password: bUKH39tsqBeyLliSaT37
  65. charge-service:
  66. username: test_bem_park
  67. password: bUKH39tsqBeyLliSaT37
  68. xxl-job-admin:
  69. url: jdbc:mysql://rm-wz935586522b8f5o4.mysql.rds.aliyuncs.com:3306/test_bem_xxl_job?useUnicode=true&characterEncoding=UTF-8
  70. username: test_bem_xxl_job
  71. password: mMMPC8hrg@HpSt7dBR3oH
  72. zbcloud-grey-server:
  73. url: jdbc:mysql://172.18.193.54:3306/zbcloud_grey_server?characterEncoding=utf-8
  74. username: root #默认账号
  75. password: wNPjTnY[{aH6
  76. redis:
  77. default: #目前主redis
  78. host: 172.18.193.54
  79. port: 6379
  80. database: 6
  81. password: ake123
  82. kafka:
  83. default: #目前主kafka,多个用逗号分隔
  84. brokers: 172.21.1.177:9092
  85. isValidateCode: false #是否开启验证码,生产环境填true
  86. # info信息
  87. info:
  88. version: ${APP_VERSION:unknown}
  89. hostname: ${HOSTNAME:unknown}
  90. java-version: ${JAVA_VERSION:unknown}
  91. wechat:
  92. park: #车场端
  93. mp: #公众号
  94. appid: wxd3d43b721655809c #微信-车场端公众号appid
  95. secret: 3a8ebc7fe7673d1ccef4c8d3509f1ff9 #微信-车场端公众号secret 223d8e2ae1e915d69c52c7fdfb860531
  96. template-msg: #消息模板
  97. error-message-id: CLllRv7um2P-aOOvp66mWZqQl_wamyC2PhN9IXnWhYw # 一点停车场端-异常协助提醒模板id;名称:异常协助提醒
  98. resume-message-id: bwEIP9x-dkdL1Nz7KIS50x3fYN-RDzy27EXdMGx8PpM # 一点停车场端-网络恢复模板id:名称:告警恢复通知
  99. carin-message-id: EgE84pXWVEKdEd-L9eyfwgyPMpN4ET4JuTYnDE66Cvs # 进场消息模板id:名称:进场协助提醒
  100. carout-message-id: xiTfnIu_hyS7NVPwkYpe6ZQALkoA30E5ahDBSfLxMRY # 离场消息模板id;名称:离场协助提醒
  101. media: #公众号素材
  102. scan-bind-thumb-media-id: 6qsddEafVqhOgFgc0_K3PXu3Jq70t2wspiufcm6wLSU # 扫码推送小程序入口卡片需要的素材图片 需研发处理(招正涛)
  103. miniprogram: #车场端小程序
  104. appid: wxa1235eeb93b460af #车场端小程序appid
  105. secret: 223d8e2ae1e915d69c52c7fdfb860531 # 车场端小程序secret
  106. user:
  107. mp:
  108. template-msg: #消息模板
  109. income-summary-weixin-template-id: 7m-3Mbhvnc6fA_sPH0BTsCQ37zSPbWrL_YMtijqkJIQ #微信-一点停消息模版名称:交易汇总通知
  110. booking-weixin-template-id: xYA7q4AROaZCvUS3cQn14dkveLF2qKF3AE84drW_7-4 #微信-一点停车位预订消息模版id
  111. operating-analysis-weixin-template-id: Hu_sfNzNSNeWGgm9EK6HQAAHKOlB_vzrz2fD-jgE1Qk #微信-通用的报告生成通知消息模版,名称:报告生成通知
  112. open-month-ticket-succeed-weixin-template-id: HdowEfyA2m-m7FPvlfE37tlYD93R5vgdKyuUxhKWgfE #开通电动车月票发送微信通知模版id
  113. open: #微信开放平台
  114. token: zbcloud2018 #固定值,需要一点停车场端公众号配置: 基本配置->服务器配置->令牌(Token)
  115. appid: wx5d2d2480ebdec2d4 #微信-微信开放平台:网站应用对应的appid
  116. secret: 136e3a5dfe4acb403e5312101b605e8d #微信-微信开放平台:网站应用对应的secret
  117. oss:
  118. cloud:
  119. implement: aliyun
  120. aliyun:
  121. oss:
  122. endPoint: oss-cn-shenzhen.aliyuncs.com
  123. accessKeyId: LTAIB0Sygx8kGMgu #阿里云-OSS的KEY ID
  124. accessKeySecret: CuvplsU7r6u0yfOZ4JnOBGLmwKFaxi #阿里云-OSS的秘钥
  125. publicBucketName: ake-bem-parking-test #阿里云-OSS的公开权限的oss Bucket
  126. privateBucketName: ake-bem-parking-private-test #阿里云-OSS创建一个private权限的oss Bucket
  127. publicBucketDomain: https://ake-bem-parking-test.oss-cn-shenzhen.aliyuncs.com/
  128. privateBucketDomain: https://ake-bem-parking-private-test.oss-cn-shenzhen.aliyuncs.com/
  129. sms:
  130. # 短信发送者,微服务体系用 feignClient,独立部署使用 self
  131. sender: 'self'
  132. client:
  133. implement: aliyun
  134. aliyun:
  135. access-key-id: LTAIB0Sygx8kGMgu #阿里云短信key
  136. access-key-secret: CuvplsU7r6u0yfOZ4JnOBGLmwKFaxi #阿里云短信secret
  137. verify-template-code: SMS_134975121 #阿里云短信-验证码短信模板
  138. sign-name: 一点停 #阿里云短信签名
  139. http-client-pool:
  140. # 连接超时
  141. connect-timeout: 2000
  142. cache:
  143. type: redis
  144. openapi:
  145. vos:
  146. domain: ${public.domain.vos}
  147. #语音freeswitch相关配置 运维提供
  148. freeswitch:
  149. domain: ${public.domain.freeswitch}
  150. auth-user: freeswitch_akezb
  151. websocket-uri: wss://${freeswitch.domain}/freeswitch
  152. auth-password: akezb@_freeswitch
  153. lua-api-url: http://172.18.193.54:8088/api/lua
  154. #lua-api-url: http://120.79.79.110:8088/api/lua
  155. swagger:
  156. enable: true