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.
 
 
 
 
 

77 lines
2.0 KiB

  1. spring:
  2. # JDBC
  3. datasource:
  4. url: jdbc:mysql://formalldb.cfqyqflkdlit.rds.cn-northwest-1.amazonaws.com.cn:3306/mallink?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false
  5. username: ENC(NUzgQOdJnCbVLKT6BaX0aw==)
  6. password: ENC(mvuoDRiu0jqYaKNRwwTuXZ6U7aoIaqsjdiPqTLgi/nY=)
  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(8gYU47Fu93NUJPhwPCiPbAT+6VFA1YDx1egK4Z0Nl6w=)
  28. timeout: 3600
  29. expire: 1800 #30分钟
  30. database: 1
  31. defaultExpiration: 2592000 # 默认生命周期30天
  32. jedis:
  33. pool:
  34. max-active: 100
  35. max-idle: 20
  36. max-wait: -1
  37. min-idle: 0
  38. # EMAIL
  39. mail:
  40. host: smtp.exmail.qq.com
  41. username: ENC(I2YKxnRVPY7J1r/bwzwHOhQCjj3nVqCWEbVTJvBq7y0=)
  42. password: ENC(APQMO9XQRzMKd0eap+oSSOYH9MQe/r5K0YFF9A9mizU=) # 授权密码
  43. properties:
  44. mail:
  45. smtp:
  46. auth: true
  47. starttls:
  48. enable: true
  49. flowable:
  50. async-executor-activate: false
  51. aws:
  52. clientRegion: cn-northwest-1
  53. bucketName: iformall-net
  54. access: ENC(a6SN1sZ1enNL49ypiOXkg/pPPAnZD8H4buQFTTKN08s=)
  55. secret: ENC(5P5ff4bTMJUbXVR4ZsM03UHzOKZ4+Zg5Iutcdkyp/Quny/oXg+A4KpfwEyGarlLu3vQMJahGP5M=)
  56. wechat:
  57. web:
  58. appId: "wx9cc4ca09eb20fe03"
  59. secret: "af1d7f7a1268022a73cb4ce0b9cf0985"
  60. url: "https://admin.malls.iformall.com"
  61. fm:
  62. exception: true
  63. ueditor:
  64. config: config.json
  65. unified: true
  66. upload-path: ./upload/
  67. url-prefix: ""
  68. logging:
  69. level:
  70. tk.mybatis: debug
  71. com.iformall.mapper: debug
  72. path: ./logs/admin