bem-mgr-service.yml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. spring:
  2. datasource:
  3. druid:
  4. name: mydb
  5. url: ${public.datasource.parkdb.url}
  6. username: ${public.datasource.parkdb.mgr-service.username}
  7. password: ${public.datasource.parkdb.mgr-service.password}
  8. type: com.alibaba.druid.pool.DruidDataSource
  9. driver-class-name: com.mysql.jdbc.Driver
  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. cache:
  24. type: redis
  25. http:
  26. multipart:
  27. maxFileSize: 100Mb
  28. maxRequestSize: 120Mb
  29. kafka:
  30. producer:
  31. bootstrap-servers: ${public.kafka.default.brokers}
  32. key-serializer: org.apache.kafka.common.serialization.StringSerializer
  33. value-serializer: org.apache.kafka.common.serialization.ByteArraySerializer
  34. redis:
  35. host: ${public.redis.default.host}
  36. port: ${public.redis.default.port}
  37. password: ${public.redis.default.password}
  38. pool:
  39. max-active: 100
  40. max-idle: 30
  41. max-wait: 100000
  42. cloud:
  43. stream:
  44. kafka:
  45. binder:
  46. brokers: kafka-svc:9092
  47. auto-create-topics: false
  48. bindings:
  49. common-vip-change-output:
  50. destination: common-vip-change
  51. producer:
  52. key-serializer: org.apache.kafka.common.serialization.ByteArraySerializer
  53. value-serializer: org.apache.kafka.common.serialization.ByteArraySerializer
  54. partitionKeyExtractorClass: cn.akeparking.pomp.producer.kafka.CommonVipChangePartitionKeyExtractorStrategy
  55. user:
  56. config:
  57. #获取图片接口
  58. dynamicImageBasePath: https:/ydtw-test.yidianting.com.cn/user/getPicture.do?fileId=
  59. mgr-service:
  60. producer:
  61. type:
  62. vip-change: kafka
  63. payload-key: payload.data.parkCode
  64. ribbon:
  65. ReadTimeout: 60000
  66. ConnectTimeout: 60000
  67. mybatis:
  68. mapperLocations: classpath*:mapper/**/*Mapper.xml
  69. configLocation: classpath:mybatis-config.xml
  70. # aliyunoss配置,需使用一个private权限的Bucket,统一保存在pomp文件夹下面
  71. oss_endPoint:
  72. oss_accessKeyId:
  73. oss_accessKeySecret:
  74. oss_bucketName:
  75. oss_foldersPrefix: pomp
  76. oss_domain:
  77. uploadPath: D:\\upload\\
  78. # 停车场信息-图片和收费规则图片, 好像已经没啥用
  79. foreignPicUrl: 0 #v3.2后废弃
  80. foreignParkUrl: /mgr/getCarPic.do?fileId=
  81. compaignQrUrl: https://${openapi.vos.domain}/weixin/html/visit/quickpay.do?parkId=%s&compaignId=%s
  82. # 导出纸质券-生成券上二维码的访问地址
  83. qrCodeUrl: https://${openapi.vos.domain}/gtr?s=%s&g=%s&v=%s&si=%s
  84. fdfs_accessible_group_name: 0 #废弃
  85. fdfs_accessible_http_url: 0 #废弃
  86. domain_url: https://${public.domain.mgr}
  87. video_server_url: http://172.18.114.114/video #原mgr中央监控使用的视频流地址,该服务目前没有入口 已废弃
  88. charge_server_url: http://10.10.44.135:58891 #移动app紧急进出调用的查费服务 已废弃
  89. open_invoice_url: https://${openapi.vos.domain}/weixin/html/invoice.do
  90. # 报表推送微信绑定地址
  91. dataPushQrUrl: https://${openapi.vos.domain}/mgr-weixin/manage/report/bind.do?operatorID=%s
  92. # 报表推送-收入汇总报表微信模版
  93. income_summary_weixin_template_id: ${wechat.user.mp.template-msg.income-summary-weixin-template-id}
  94. # 报表推送-收入汇总报表-访问地址
  95. manage_mobile_report_url: https://${openapi.vos.domain}/mgr-weixin/manage/report/index.do?operatorID=%s&api_url=%s&rd=%s&fromDate=%s&toDate=%s&bindId=%s
  96. zbcloud_api_gateway:
  97. vems_gateway_service_url_prefix:
  98. # 微信-通用的报告生成通知消息模版
  99. operating_analysis_weixin_template_id: ${wechat.user.mp.template-msg.operating-analysis-weixin-template-id}
  100. # 中央收费(POMP页面入口)
  101. centralPayUrl: https://${public.domain.mgr}/central-charge/
  102. # 岗亭收费入口
  103. sentryPayUrl: https://${public.domain.mgr}/sentry/
  104. #ydtw域名
  105. ydtw_domain_url: ${openapi.vos.domain}
  106. #开通电动车月票发送微信通知模版id
  107. open_month_ticket_succeed_weixin_template_id: ${wechat.user.mp.template-msg.open-month-ticket-succeed-weixin-template-id}
  108. #mgr域名
  109. mgr_domain_url: $(public.domain.mgr)
  110. #卡机加密密钥,注意引号是必须的
  111. card_key: "313131313131313131313131313131313131313131313131"
  112. #卡机加密补码,注意引号是必须的
  113. card_keyiv: "0000000000000000"
  114. pomplog:
  115. threadpool:
  116. corepoolsize: 10
  117. maxpoolsize: 60
  118. keepaliveseconds: 60
  119. queuecapacity: 1000
  120. bus:
  121. bootstrap:
  122. servers: ${public.kafka.default.brokers}
  123. # sysconfig.properties
  124. # 导出纸质券生成二维码所用密钥
  125. qrCodeKey: SHf2eJck0IdfIiWYwn5BapkOXNcPV10t #固定值
  126. isReciveAliyunDyplsMessage: false
  127. # fastdfs 已废弃
  128. fastdfs:
  129. public:
  130. connect_timeout: 2
  131. network_timeout: 30
  132. charset: ISO8859-1
  133. tracker_http_port: 8089
  134. anti_steal_token: false
  135. secret_key: FastDFS1234567890
  136. tracker_server: 172.18.193.56:22122
  137. private:
  138. connect_timeout: 2
  139. network_timeout: 30
  140. charset: ISO8859-1
  141. tracker_http_port: 8089
  142. anti_steal_token: no
  143. secret_key: FastDFS1234567890
  144. tracker_server: 172.18.193.56:22122
  145. #true正常验证码,false验证码为9999
  146. useValidatecode: ${public.isValidateCode}
  147. logging:
  148. level:
  149. org.springframework: WARN
  150. cn.akeparking.zbcloud: DEBUG
  151. cn.akeparking.pomp: DEBUG
  152. org.spring.springboot.dao: DEBUG
  153. com.ake: DEBUG
  154. cn.akeparking.pomp.service.monthTicket.impl: INFO
  155. prms:
  156. domain: https://prms.yidianting.xin
  157. auth: true
  158. authUrl: ${prms.domain}/api/public/check_user_req
  159. aks-park-pkglobal-ids: 93b0f409-c08a-4f43-996f-809ab3f37b49,c919bea3-9166-4997-8fb4-b506b7956f21,f3857b29-0e80-4a2d-acf1-215f97309ab2
  160. xxl:
  161. job:
  162. admin:
  163. address: http://xxl-job-admin.k8s.yidianting.com.cn/xxl-job-admin/
  164. executor:
  165. appname: mgr-service
  166. ip:
  167. port: 9222
  168. logpath:
  169. logretentiondays: -1
  170. accessToken:
  171. versionSupport:
  172. monthTicketRefund:
  173. vems: 5,14
  174. rpms: 9,9,9,9