123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- server.port=8327
- server.servlet.context-path=/api
- project.path=./log
- #日志配置
- logging.level.root=info
- logging.path=${project.path}/logs
- spring.thymeleaf.prefix=classpath:/templates/
- spring.datasource.driver-class-name=com.mysql.jdbc.Driver
- spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
- spring.datasource.url=jdbc:mysql://114.135.61.188:33306/ccrc?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull
- spring.datasource.username=root
- spring.datasource.password=100Zone@123
- spring.datasource.druid.initial-size=5
- spring.datasource.druid.min-idle=5
- spring.datasource.druid.max-active=20
- spring.datasource.druid.max-wait=60000
- spring.datasource.druid.time-between-eviction-runs-millis=60000
- spring.datasource.druid.min-evictable-idle-time-millis=300000
- spring.datasource.druid.validation-query=SELECT 1
- spring.datasource.druid.test-while-idle=true
- spring.datasource.druid.test-on-borrow=true
- spring.datasource.druid.test-on-return=false
- spring.datasource.druid.pool-prepared-statements=true
- spring.datasource.druid.max-pool-prepared-statement-per-connection-size=20
- spring.datasource.druid.filters=stat,wall
- spring.datasource.druid.connection-properties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
- # mybatis_config
- mybatis.mapper-locations=classpath*:mapper/*.xml
- mybatis.type-aliases-package=com.zoniot.ccrc.entity
- mybatis.configuration.map-underscore-to-camel-case=true
- mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
- mybatis.configuration.use-column-label=true
- spring.data.mongodb.uri=mongodb://114.135.61.188:17017/meter-reading-database
- spring.jackson.time-zone=GMT+8
- #spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
- #spring.jackson.joda-date-time-format: yyyy-MM-dd HH:mm:ss
- # redis
- #spring.redis.host=127.0.0.1
- spring.redis.host=114.135.61.188
- spring.redis.port=26379
- spring.redis.password=zoniot
- #spring.redis.port=6379
- #spring.redis.password=100Zone@123
- spring.redis.database=3
- spring.redis.timeout=10000ms
- spring.redis.jedis.pool.max-active=8
- spring.redis.jedis.pool.max-idle=8
- spring.redis.jedis.pool.max-wait=-1ms
- spring.redis.jedis.pool.min-idle=2
-
- jwt.secret=smartCity123
- jwt.expiration=36000
- jwt.header=Authorization
- jwt.tokenHead=Bearer
- spring.servlet.multipart.max-file-size=100MB
- spring.servlet.multipart.max-request-size=100MB
- spring.servlet.multipart.location=${project.path}/files
- files.path=${project.path}/data
- #物联网url
- iot.url=http://114.135.61.188:58080
- iot.server=114.135.61.188
- iot.port=58088
- #########################################Rabbit MQ ����#############################################
- spring.rabbitmq.host=114.135.61.188
- spring.rabbitmq.port=55672
- spring.rabbitmq.username=zoniot
- spring.rabbitmq.password=zcxk100
- spring.rabbitmq.virtual-host=/
- spring.rabbitmq.connection-timeout=1000ms
- spring.rabbitmq.publisher-confirm-type=correlated
- spring.rabbitmq.publisher-returns=true
- spring.rabbitmq.template.mandatory=true
- spring.rabbitmq.listener.direct.acknowledge-mode=manual
- spring.rabbitmq.listener.simple.acknowledge-mode=manual
- spring.rabbitmq.exchange=sync-handler-exchange
- spring.rabbitmq.device.queue=sync-device-handler-queue
- spring.rabbitmq.community.queue=sync-community-handler-queue
- spring.rabbitmq.building.queue=sync-building-handler-queue
- #中城信科公众号
- wechat.oa.appid=wx6b2ce547cd593413
- #小程序水查查服务
- wechat.mp.appid=wx27f831675081e293
- wechat.mp.app-secret=a01d7f75f15e1a6b7fa28a317f97ef1b
|