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.
 
 
 
 
 

174 lines
4.4 KiB

  1. spring:
  2. profiles:
  3. #include: aliyunRocketMQ
  4. include: rabbitMQ
  5. # JDBC
  6. datasource:
  7. url: jdbc:mysql://101.200.130.134: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. #jackson:
  26. #date-format: yyyy-MM-dd HH:mm:ss
  27. # REDIS
  28. redis:
  29. host: 101.200.130.134
  30. port: 6379
  31. password: iF0rm@2l2ol9
  32. timeout: 3600
  33. expire: 1800 #30分钟
  34. database: 5
  35. defaultExpiration: 2592000 # 默认生命周期30天
  36. jedis:
  37. pool:
  38. max-active: 50
  39. max-idle: 30
  40. max-wait: -1
  41. min-idle: 0
  42. # SMS
  43. aliyun:
  44. sms:
  45. accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V
  46. accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry
  47. product: Dysmsapi
  48. domain: dysmsapi.aliyuncs.com
  49. regionId: cn-hangzhou
  50. dateFormat: yyyyMMdd
  51. endpointName: cn-hangzhou
  52. oss:
  53. endpoint: oss-cn-beijing.aliyuncs.com
  54. keyid: LTAI4G7ixY4AhvM35F8o3W3V
  55. keysecret: VfWqGb83qIQrS9us45utskl8itd7ry
  56. bucketname: formall
  57. filehost: malinkbapi
  58. filedomain: https://formall.oss-accelerate.aliyuncs.com
  59. # EMAIL
  60. mail:
  61. host: smtp.exmail.qq.com
  62. username: service@iformall.com
  63. password: jGvApygXN7wc5SzN # 授权密码
  64. properties:
  65. mail:
  66. smtp:
  67. auth: true
  68. starttls:
  69. enable: true
  70. socketFactory:
  71. port: 465
  72. class: javax.net.ssl.SSLSocketFactory
  73. # ROCKETMQ
  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. rabbitmq:
  85. host: 101.200.130.134
  86. port: 5672
  87. username: fumao
  88. password: f9l98
  89. publisher-confirms: true
  90. publisher-returns: false
  91. virtual-host: /
  92. aliyunRocketmq:
  93. accessKeyId: "LTAI4G7ixY4AhvM35F8o3W3V"
  94. accessKeySecret: "VfWqGb83qIQrS9us45utskl8itd7ry"
  95. groupId: "GID_P_1"
  96. namesrvAddr: "http://MQ_INST_1796289517488555_Bcqaq2is.cn-beijing.mq-internal.aliyuncs.com:8080"
  97. aws:
  98. clientRegion: cn-northwest-1
  99. bucketName: iformall-net
  100. access: ENC(3gx5ghDFBqGrEhO3Wf8aYmXsnwHO7Cj3HNKJGOeUj0o=)
  101. secret: ENC(HVKIJwCJKVXLlUpGlQPwNqJOlnpxn4xYuy91SH0seTSm2uAttIQHvA49fXWWax90v5wloIk0QuU=)
  102. jasypt:
  103. encryptor:
  104. password: oRqdnDbK5pj3eMmB
  105. #wechat:
  106. # open:
  107. # componentAppId: "wxdfc8fb4e62d6b52b"
  108. # componentSecret: "98daa62b316dd6feabaad708327ce233"
  109. # componentToken: "formall2018"
  110. # componentAesKey: "htKq8EjBMPNndfZQK9JiFojFaqFwFpw42VfeWFtx7HN"
  111. # redis:
  112. # host: 101.201.103.81
  113. # port: 6379
  114. # password: ENC(xPFDlgd6v8zUhJMbcKc0KmmQiqs9qHtk)
  115. # timeout: 3600
  116. # expire: 1800 #30分钟
  117. # database: 2
  118. # defaultExpiration: 2592000 # 默认生命周期30天
  119. # jedis:
  120. # pool:
  121. # max-active: 100
  122. # max-idle: 500
  123. # max-wait: -1
  124. # min-idle: 10
  125. wechat:
  126. web:
  127. appId: "wx091907dd0bfd3f6b"
  128. secret: "2a2ca10738998b9ef92c1fe8a4d366a6"
  129. url: "https://admintest.malls.iformall.com"
  130. open:
  131. componentAppId: wxdfc8fb4e62d6b52b
  132. componentSecret: 98daa62b316dd6feabaad708327ce233
  133. componentToken: formall2018
  134. componentAesKey: htKq8EjBMPNndfZQK9JiFojFaqFwFpw42VfeWFtx7HN
  135. redis:
  136. host: 101.200.130.134
  137. port: 6379
  138. password: iF0rm@2l2ol9
  139. timeout: 3600
  140. expire: 1800 #30分钟
  141. database: 2
  142. defaultExpiration: 2592000 # 默认生命周期30天
  143. jedis:
  144. pool:
  145. max-active: 100
  146. max-idle: 100
  147. max-wait: -1
  148. min-idle: 10
  149. fm:
  150. exception: true
  151. exception_emails: xuxiaohu@iformall.com
  152. deploy: 1
  153. open: true
  154. upload_dir: /home/test/server/uploads
  155. pos:
  156. dev_id: fmpos
  157. url: https://pos.youlane.cn/api
  158. req_key: ZiGFLC4@3c5sTLZT
  159. res_key: ugPAM7wd&%p6I0W8
  160. logging:
  161. level:
  162. com.iformall.mapper: debug
  163. path: ./logs/b