application.yaml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. server:
  2. port: 8080
  3. servlet:
  4. context_path: /
  5. compression:
  6. enabled: true
  7. mime-types: application/json,application/xml,text/html,text/xml,text/plain
  8. error:
  9. whitelabel:
  10. enabled: false
  11. spring:
  12. profiles:
  13. active: dev
  14. datasource:
  15. # url: jdbc:mysql://mysql.izouma.com/jsx?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8
  16. # username: microball
  17. # password: 2wsx@WSX#EDC
  18. url: jdbc:mysql://192.168.50.97/jsx?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8
  19. username: root
  20. password: 3edc#EDC
  21. hikari:
  22. minimum-idle: 5
  23. maximum-pool-size: 30
  24. auto-commit: true
  25. idle-timeout: 30000
  26. max-lifetime: 1800000
  27. connection-timeout: 30000
  28. connection-test-query: SELECT 1
  29. jpa:
  30. database: MySQL
  31. database_platform: org.hibernate.dialect.MySQL5InnoDBDialect
  32. hibernate:
  33. ddl_auto: update
  34. properties:
  35. hibernate:
  36. enable_lazy_load_no_trans: true
  37. redis:
  38. host: 127.0.0.1
  39. port: 6379
  40. lettuce:
  41. pool:
  42. max_active: 8
  43. max_idle: 8
  44. min_idle: 0
  45. servlet:
  46. multipart:
  47. max_file_size: 100MB
  48. max_request_size: 100MB
  49. freemarker:
  50. settings:
  51. number_format: 0
  52. cache:
  53. type: caffeine
  54. jwt:
  55. secret: XvAD0kboD76Dpebm
  56. header: Authorization
  57. expiration: 2592000 #30days
  58. wx:
  59. mp:
  60. app_id: wx2375cba2eec2c479
  61. app_secret: 28e4829124860d9ef9e2f32aeefd1111
  62. ma:
  63. app_id: wxde386c1d6f9fc0c8
  64. app_secret: 43169574cac6803f3a16d88bbcaba814
  65. msg_token: msgToken
  66. msg_aes_key: aesKey
  67. msg_format: JSON
  68. pay:
  69. appId: wxde386c1d6f9fc0c8
  70. mchId: 1604487424
  71. mchKey: SGZSquBjfa8Apt5WkLu5knNUXq8MgGD2
  72. subAppId: #服务商模式下的子商户公众账号ID
  73. subMchId: #服务商模式下的子商户号
  74. keyPath: classpath:/cert/apiclient_cert.p12
  75. notifyUrl: http://jiashanxia.izouma.com/wx/payNotify
  76. refundNotifyUrl: http://jiashanxia.izouma.com/wx/refundNotify
  77. storage:
  78. provider: aliyun
  79. local_path: /var/www/upload/
  80. aliyun:
  81. access-key-id: PXzJyah5rZfWHIIH
  82. access-key-secret: e1MS6j0wypXJrw8CM0hObZu8qKbfah
  83. oss-end-point: oss-cn-hangzhou.aliyuncs.com
  84. oss-bucket-name: jiashanxia
  85. oss-domain: https://jiashanxia.oss-cn-hangzhou.aliyuncs.com
  86. general:
  87. host: http://jiashanxia.izouma.com
  88. ---
  89. spring:
  90. profiles: test
  91. ---
  92. spring:
  93. profiles: prod