You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

85 lines
2.3 KiB

  1. spring:
  2. # JDBC
  3. datasource:
  4. url: jdbc:mysql://formalldb.cfqyqflkdlit.rds.cn-northwest-1.amazonaws.com.cn:3306/mallinkTest?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false
  5. username: ENC(Uc0AjgkytxHHCwZrmDASWg==)
  6. password: ENC(nV4Mi3bEbBx0Fj7uUyYH55eTaqsFMjKvmNzagicH4pc=)
  7. type: com.alibaba.druid.pool.DruidDataSource
  8. driver-class-name: com.mysql.cj.jdbc.Driver
  9. filters: stat
  10. maxActive: 20
  11. initialSize: 1
  12. maxWait: 60000
  13. minIdle: 1
  14. timeBetweenEvictionRunsMillis: 28000
  15. minEvictableIdleTimeMillis: 28000
  16. validationQuery: select 'x'
  17. testWhileIdle: true
  18. testOnBorrow: false
  19. testOnReturn: false
  20. poolPreparedStatements: true
  21. maxOpenPreparedStatements: 20
  22. connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000"
  23. # REDIS
  24. redis:
  25. host: 127.0.0.1
  26. port: 6379
  27. password: ENC(QFwqv3NshvvGhFPiP8rwhvbnxk+rFSqhJi8Pw6TogSg=)
  28. timeout: 3600
  29. expire: 1800 #30分钟
  30. database: 1
  31. defaultExpiration: 2592000 # 默认生命周期30天
  32. jedis:
  33. pool:
  34. max-active: 8
  35. max-idle: 8
  36. max-wait: -1
  37. min-idle: 0
  38. # EMAIL
  39. mail:
  40. host: smtp.exmail.qq.com
  41. username: ENC(HFbRXtAFVxU36Hk0yT3reyvRuLrw3RhMlbxFj9Ev/VY=)
  42. password: ENC(pk4+/3C5n2hMYmgi+VTqI4P1m77DllW8y4KElMXXmIo=) # 授权密码
  43. properties:
  44. mail:
  45. smtp:
  46. auth: true
  47. starttls:
  48. enable: true
  49. aws:
  50. clientRegion: cn-northwest-1
  51. bucketName: iformall-net
  52. access: ENC(NCLcmjwKpAWdn/abD17OKIY7yKepVLWzEpqRYUlURCw=)
  53. secret: ENC(TRcZqql0Rq5PExlMeH/4WiZ/i02b8FXKmLTBChJmbluTa1uoLS9LrHyNEMrqe1DK+QgOAdvqGBo=)
  54. wechat:
  55. open:
  56. componentAppId: "wx897e4673286c915d"
  57. componentSecret: "cdfdfda65c45689beb6766c4c427eed2"
  58. componentToken: "formall2018"
  59. componentAesKey: "htKq8EjBMPNndfZQK9JiFojFaqFwFpw42VfeWFtx7HN"
  60. redis:
  61. host: 127.0.0.1
  62. port: 6379
  63. password: ENC(QFwqv3NshvvGhFPiP8rwhvbnxk+rFSqhJi8Pw6TogSg=)
  64. timeout: 3600
  65. expire: 1800 #30分钟
  66. database: 2
  67. defaultExpiration: 2592000 # 默认生命周期30天
  68. jedis:
  69. pool:
  70. max-active: 100
  71. max-idle: 100
  72. max-wait: -1
  73. min-idle: 10
  74. fm:
  75. exception: true
  76. delay: 2
  77. logging:
  78. level:
  79. tk.mybatis: debug
  80. com.iformall: debug
  81. path: ./logs/o