application-dev.properties 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. server.port=19001
  2. #mysql datasource setting
  3. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  4. spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
  5. spring.datasource.url=jdbc:mysql://172.16.90.201:3306/wechat-openid-data?characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false&&allowMultiQueries=true
  6. spring.datasource.username=root
  7. spring.datasource.password=123456
  8. spring.datasource.initialSize=5
  9. spring.datasource.minIdle=5
  10. spring.datasource.maxActive=20
  11. spring.datasource.maxWait=60000
  12. spring.datasource.timeBetweenEvictionRunsMillis=60000
  13. spring.datasource.minEvictableIdleTimeMillis=30000
  14. spring.datasource.validationQuery=SELECT 1
  15. spring.datasource.testWhileIdle=true
  16. spring.datasource.testOnBorrow=false
  17. spring.datasource.testOnReturn=false
  18. spring.datasource.poolPreparedStatements=true
  19. spring.datasource.maxPoolPreparedStatementPerConnectionSize=20
  20. spring.datasource.filters=stat,wall
  21. spring.datasource.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=2000
  22. #mybatis setting
  23. mybatis.type-aliases-package=com.hw.entity
  24. mybatis.mapper-locations=classpath:mappers/*.xml
  25. mybatis.check-config-location=true
  26. mybatis.executor-type=simple
  27. #pagehelper setting
  28. pagehelper.helperDialect=mysql
  29. pagehelper.reasonable=true
  30. pagehelper.supportMethodsArguments=true
  31. pagehelper.params=count=countSql
  32. spring.redis.database=0
  33. spring.redis.host=127.0.0.1
  34. spring.redis.port=6379
  35. spring.redis.jedis.pool.max-idle=8
  36. spring.redis.jedis.pool.min-idle=0
  37. spring.redis.jedis.pool.max-active=10
  38. spring.redis.jedis.pool.max-wait=-1
  39. spring.redis.timeout=5000
  40. #原公众号appId
  41. wx.ma.appId=wxbe90cc7c5233dd84
  42. #原公众号secret
  43. wx.ma.secret=ec4a18ce1a7bcf17cf592c3d57cec68a
  44. #新公众号appId
  45. newwx.ma.appId=wxbe90cc7c5233dd84
  46. #新公众号secret
  47. newwx.ma.secret=ec4a18ce1a7bcf17cf592c3d57cec68a