application-prd.properties 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. server.port=8090
  2. server.servlet.context-path=/api
  3. #日志配置
  4. logging.level.root=info
  5. logging.path=/mnt/prd/platform/logs
  6. spring.thymeleaf.prefix=classpath:/templates/
  7. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  8. #使用druid数据源
  9. spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
  10. spring.datasource.url=jdbc:mysql://172.18.110.178:3306/smart_city?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull
  11. spring.datasource.username=root
  12. spring.datasource.password=100Zone@123
  13. spring.datasource.druid.initial-size=5
  14. spring.datasource.druid.min-idle=5
  15. spring.datasource.druid.max-active=20
  16. spring.datasource.druid.max-wait=60000
  17. spring.datasource.druid.time-between-eviction-runs-millis=60000
  18. spring.datasource.druid.min-evictable-idle-time-millis=300000
  19. spring.datasource.druid.validation-query=SELECT 1
  20. spring.datasource.druid.test-while-idle=true
  21. spring.datasource.druid.test-on-borrow=true
  22. spring.datasource.druid.test-on-return=false
  23. spring.datasource.druid.pool-prepared-statements=true
  24. spring.datasource.druid.max-pool-prepared-statement-per-connection-size=20
  25. spring.datasource.druid.filters=stat,wall
  26. spring.datasource.druid.connection-properties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
  27. # mybatis_config
  28. mybatis.mapper-locations=classpath*:mapper/*.xml,classpath*:mapper/pay/*.xml
  29. mybatis.type-aliases-package=com.bz.smart_city.entity
  30. mybatis.configuration.map-underscore-to-camel-case=true
  31. mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
  32. mybatis.configuration.use-column-label=true
  33. spring.jackson.time-zone=GMT+8
  34. #spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
  35. #spring.jackson.joda-date-time-format: yyyy-MM-dd HH:mm:ss
  36. # redis
  37. spring.redis.host=172.18.110.178
  38. spring.redis.port=6379
  39. spring.redis.password=100Zone@123
  40. spring.redis.database=1
  41. init.data.cache = 0
  42. spring.redis.timeout=10000ms
  43. spring.redis.jedis.pool.max-active=8
  44. spring.redis.jedis.pool.max-idle=8
  45. spring.redis.jedis.pool.max-wait=-1ms
  46. spring.redis.jedis.pool.min-idle=2
  47. spring.activiti.database-schema-update=true
  48. spring.activiti.check-process-definitions=false
  49. spring.activiti.job-executor-activate=false
  50. spring.activiti.async-executor-enabled=false
  51. #spring.activiti.process-definition-location-prefix=classpath:/processes/
  52. spring.activiti.history-level=full
  53. jwt.secret=smartCity123
  54. jwt.expiration=36000
  55. jwt.header=Authorization
  56. jwt.tokenHead=Bearer
  57. spring.servlet.multipart.max-file-size=100MB
  58. spring.servlet.multipart.max-request-size=100MB
  59. spring.servlet.multipart.location=/opt/prd/platform/data
  60. files.path=/opt/prd/platform/data
  61. #微信公众号
  62. wechat.oa.appid=wx6b2ce547cd593413
  63. wechat.oa.app-secret=a0fd84db87a6d56057c2ff261b8b97f1
  64. #中诚信科微信小程序
  65. #wechat.mp.appid=wx890c58705ee4e2de
  66. #wechat.mp.app-secret=12db3150f496405b4425e6f1a54e204d
  67. #娄山云微信小程序
  68. #wechat.mp.appid=wx32aae5a5179d3c5b
  69. #wechat.mp.app-secret=ad8b1589a39752602641b134b189378a
  70. #中科曙光水务云
  71. wechat.mp.appid=wx4581fe24e4d18064
  72. wechat.mp.app-secret=fb6ec8515c06f6811dcbbf3b7a610946
  73. #账号申请通知的人的微信openid
  74. account.apply.wechat.openid=oCaAI549EAYjSeONxnxLDf2GMSm4
  75. account.apply.success.wechat.openid=oCaAI5_y1JSdffomm4tk0OX9WOuk
  76. #腾讯云语音短信
  77. qcloudsms.appid=1400187546
  78. qcloudsms.appkey=6de933cbd59ed87e1b27e0061fb6af66
  79. com.zcxk.kafka.alarm.topic=sc_alarm_topic
  80. com.zcxk.kafka.card.topic=sc_card_topic
  81. com.zcxk.redis.websocket.topic=sc_websocket_topic
  82. com.zcxk.kafka.accept_add_account.topic=sc_accept_add_account_topic
  83. # quartz
  84. spring.quartz.job-store-type=jdbc
  85. spring.quartz.properties.org.quartz.scheduler.instanceName=smartCityScheduler
  86. spring.quartz.properties.org.quartz.scheduler.instanceId=AUTO
  87. spring.quartz.properties.org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX
  88. spring.quartz.properties.org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate
  89. spring.quartz.properties.org.quartz.jobStore.tablePrefix=SC_QRTZ_
  90. spring.quartz.properties.org.quartz.jobStore.isClustered=true
  91. spring.quartz.properties.org.quartz.jobStore.clusterCheckinInterval=10000
  92. spring.quartz.properties.org.quartz.jobStore.useProperties=false
  93. spring.quartz.properties.org.quartz.jobStore.misfireThreshold = 1000
  94. spring.quartz.properties.org.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool
  95. spring.quartz.properties.org.quartz.threadPool.threadCount=10
  96. spring.quartz.properties.org.quartz.threadPool.threadPriority=5
  97. spring.quartz.properties.org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread=true
  98. #netty
  99. #不能用localhost,否则启动报异常:Unresolved address
  100. #tcp监听的端口
  101. websocket.port=6789
  102. # bossGroup的线程数
  103. websocket.boss.thread.count=200
  104. # worker的线程数
  105. websocket.worker.thread.count=200
  106. #是否使用长连接
  107. websocket.so.keepalive=true
  108. websocket.so.backlog=100
  109. system.water.meter.lora.code=LORAWM
  110. #kafka配置
  111. spring.kafka.bootstrap-servers=172.18.110.178:9092
  112. #kafka消费者配置
  113. spring.kafka.consumer.group-id=api-group
  114. spring.kafka.consumer.auto-offset-reset=latest
  115. spring.kafka.consumer.enable-auto-commit=true
  116. #kafka生产者配置
  117. spring.kafka.producer.retries=0
  118. spring.kafka.producer.batch-size=4096
  119. spring.kafka.producer.buffer-memory=40960
  120. #\u9AD8\u5FB7\u5730\u56FE
  121. geomap.apikey=bb218fd3700b37dd1e02872365cab4d5
  122. geomap.api.url=https://restapi.amap.com/v3/geocode/geo
  123. #慧联无线网关查询接口
  124. easylinkin.api.url.gateway.ap=http://api.easylinkin.com/api/v1/application/ap
  125. service.domain=http://www.zoniot.com
  126. #富锦水司推送配置
  127. fj.push.customer.id=24
  128. fj.push.company.id=HUAXU
  129. fj.push.url=http://211.159.148.145:6021/SDKDCHtemp/ThirdMeterEnterServlet
  130. fj.meter.infto.url=http://211.159.148.145:6021/SDKDCHtemp/MeterEnterServlet
  131. #寄修流程配置
  132. system.channel.send.repair.code=SendAndRepair
  133. #CRM信息同步配置
  134. crm.login.url=http://183.62.175.139:5889/hxcrm/api/Ecp.OnlineUser.secretLogin
  135. crm.api.ur=http://183.62.175.139:5889/hxcrm/api/Crm.SnMgt.getMeterInformationList
  136. crm.login.username=CRM
  137. crm.login.password=CRM2019
  138. #rabbitmq
  139. spring.rabbitmq.host=222.86.88.126
  140. spring.rabbitmq.port=5627
  141. spring.rabbitmq.username=hdkj
  142. spring.rabbitmq.password=hdkj123
  143. spring.rabbitmq.virtual-host=/
  144. spring.rabbitmq.zy.topic=zyqueue
  145. #UDIP平台集成元管理url
  146. udip.unit.url=http://47.112.15.78:8322
  147. #发票请求打印接口
  148. invoice.print.url=http://nnfpbox.nuonuocs.cn/shop/buyer/allow/cxfKp/cxfServerKpOrderSync.action
  149. invoice.query.url=http://nnfpbox.nuonuocs.cn/shop/buyer/allow/ecOd/queryElectricKp.action
  150. #光电直读agent url
  151. gd.agent.url=http://47.112.16.203:9001
  152. #临河客户
  153. sync.customer.linhe.id=68
  154. sync.data.limit=100