application-dev.yml 869B

1234567891011121314151617181920212223242526272829303132333435363738
  1. ###
  2. spring:
  3. servlet:
  4. multipart:
  5. max-file-size: 10MB
  6. max-request-size: 50MB
  7. datasource:
  8. url: jdbc:mysql://112.2.2.154:3394/invoice_fill?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
  9. username: invoice_fill
  10. password: invoice_fill
  11. wx:
  12. mp:
  13. useRedis: false
  14. redisConfig:
  15. host: 127.0.0.1
  16. port: 6379
  17. configs:
  18. - appId: 1111 # 第一个公众号的appid
  19. secret: 1111 # 公众号的appsecret
  20. token: 111 # 接口配置里的Token值
  21. aesKey: 111 # 接口配置里的EncodingAESKey值
  22. ### 跨域
  23. cors:
  24. enabled: false
  25. origins:
  26. - "http://localhost:8000"
  27. exposedHeaders:
  28. - Authorization
  29. - Content-Disposition
  30. methods:
  31. - GET
  32. - POST
  33. - PUT
  34. - DELETE
  35. - OPTIONS