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.
 
 
 
 
 

168 lines
4.4 KiB

  1. spring:
  2. profiles:
  3. #include: aliyunRocketMQ
  4. include: rabbitMQ
  5. # JDBC
  6. datasource:
  7. url: jdbc:mysql://202.165.179.86:3306/mallink?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useUnicode=true&useSSL=false&useAffectedRows=true
  8. username: root
  9. password: fm2020test
  10. type: com.alibaba.druid.pool.DruidDataSource
  11. driver-class-name: com.mysql.cj.jdbc.Driver
  12. filters: stat
  13. maxActive: 20
  14. initialSize: 1
  15. maxWait: 60000
  16. minIdle: 1
  17. timeBetweenEvictionRunsMillis: 28000
  18. minEvictableIdleTimeMillis: 28000
  19. validationQuery: select 'x'
  20. testWhileIdle: true
  21. testOnBorrow: false
  22. testOnReturn: false
  23. poolPreparedStatements: true
  24. maxOpenPreparedStatements: 20
  25. connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000"
  26. #jackson:
  27. #date-format: yyyy-MM-dd HH:mm:ss
  28. # REDIS
  29. redis:
  30. host: 202.165.179.86
  31. port: 6379
  32. password: iF0rm@2l2ol9
  33. timeout: 3600
  34. expire: 1800 #30分钟
  35. database: 5
  36. defaultExpiration: 2592000 # 默认生命周期30天
  37. jedis:
  38. pool:
  39. max-active: 50
  40. max-idle: 50
  41. max-wait: -1
  42. min-idle: 10
  43. # SMS
  44. aliyun:
  45. sms:
  46. accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V
  47. accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry
  48. product: Dysmsapi
  49. domain: dysmsapi.aliyuncs.com
  50. regionId: cn-hangzhou
  51. dateFormat: yyyyMMdd
  52. endpointName: cn-hangzhou
  53. oss:
  54. endpoint: oss-cn-beijing.aliyuncs.com
  55. keyid: LTAI4G7ixY4AhvM35F8o3W3V
  56. keysecret: VfWqGb83qIQrS9us45utskl8itd7ry
  57. bucketname: formall
  58. filehost: malinkwebsocketserver
  59. filedomain: https://formall.oss-accelerate.aliyuncs.com
  60. # EMAIL
  61. mail:
  62. host: smtp.exmail.qq.com
  63. username: zhengfangyuan@iformall.com
  64. password: xnydCeUzofB2h8qp # 授权密码
  65. properties:
  66. mail:
  67. smtp:
  68. auth: true
  69. starttls:
  70. enable: true
  71. socketFactory:
  72. port: 465
  73. class: javax.net.ssl.SSLSocketFactory
  74. rocketmq:
  75. nameServer: 127.0.0.1:9876
  76. producer:
  77. retry-times-when-send-async-failed: 0
  78. send-msg-timeout: 300000
  79. compress-msg-body-over-howmuch: 4096
  80. max-message-size: 4194304
  81. retry-another-broker-when-not-store-ok: false
  82. retry-times-when-send-failed: 2
  83. rabbitmq:
  84. host: 202.165.179.86
  85. port: 5672
  86. username: fumao
  87. password: f9l98&*%%u7flt33
  88. publisher-confirms: true
  89. publisher-returns: false
  90. virtual-host: /
  91. aliyunRocketmq:
  92. accessKeyId: "LTAI4G7ixY4AhvM35F8o3W3V"
  93. accessKeySecret: "VfWqGb83qIQrS9us45utskl8itd7ry"
  94. groupId: "GID_P_1"
  95. namesrvAddr: "http://MQ_INST_1796289517488555_Bcqaq2is.cn-beijing.mq-internal.aliyuncs.com:8080"
  96. aws:
  97. clientRegion: cn-northwest-1
  98. bucketName: iformall-net
  99. access: ENC(3gx5ghDFBqGrEhO3Wf8aYmXsnwHO7Cj3HNKJGOeUj0o=)
  100. secret: ENC(HVKIJwCJKVXLlUpGlQPwNqJOlnpxn4xYuy91SH0seTSm2uAttIQHvA49fXWWax90v5wloIk0QuU=)
  101. #wechat:
  102. # open:
  103. # componentAppId: "wxdfc8fb4e62d6b52b"
  104. # componentSecret: "98daa62b316dd6feabaad708327ce233"
  105. # componentToken: "formall2018"
  106. # componentAesKey: "htKq8EjBMPNndfZQK9JiFojFaqFwFpw42VfeWFtx7HN"
  107. # redis:
  108. # host: 101.201.103.81
  109. # port: 6379
  110. # password: ENC(xPFDlgd6v8zUhJMbcKc0KmmQiqs9qHtk)
  111. # timeout: 3600
  112. # expire: 1800 #30分钟
  113. # database: 2
  114. # defaultExpiration: 2592000 # 默认生命周期30天
  115. # jedis:
  116. # pool:
  117. # max-active: 100
  118. # max-idle: 500
  119. # max-wait: -1
  120. # min-idle: 10
  121. wechat:
  122. web:
  123. appId: "wx091907dd0bfd3f6b"
  124. secret: "2a2ca10738998b9ef92c1fe8a4d366a6"
  125. url: "https://admintest.malls.iformall.com"
  126. open:
  127. componentAppId: wxdfc8fb4e62d6b52b
  128. componentSecret: 98daa62b316dd6feabaad708327ce233
  129. componentToken: formall2018
  130. componentAesKey: htKq8EjBMPNndfZQK9JiFojFaqFwFpw42VfeWFtx7HN
  131. redis:
  132. host: 202.165.179.86
  133. port: 6379
  134. password: iF0rm@2l2ol9
  135. timeout: 3600
  136. expire: 1800 #30分钟
  137. database: 2
  138. defaultExpiration: 2592000 # 默认生命周期30天
  139. jedis:
  140. pool:
  141. max-active: 100
  142. max-idle: 100
  143. max-wait: -1
  144. min-idle: 10
  145. jasypt:
  146. encryptor:
  147. password: oRqdnDbK5pj3eMmB
  148. fm:
  149. exception: true
  150. exception_emails: houtaikaifa@iformall.com
  151. deploy: 1
  152. open: true
  153. upload_dir: /home/test/server/uploads/
  154. logging:
  155. level:
  156. com.iformall.mapper: debug
  157. path: ./logs/w