application.yml 650 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. eureka:
  2. client:
  3. service-url:
  4. defaultZone: http://localhost:8801/eureka/
  5. spring:
  6. application:
  7. name: auth-service
  8. profiles:
  9. include: secret
  10. rabbitmq:
  11. host: localhost
  12. port: 5672
  13. username: guest
  14. password: guest
  15. cloud:
  16. stream:
  17. bindings:
  18. register-output:
  19. destination: register
  20. content-type: application/json
  21. server:
  22. port: 8803
  23. #写入你的小程序信息
  24. wx:
  25. miniapp:
  26. appid: #微信小程序的appid
  27. secret: #微信小程序的Secret
  28. msgDataFormat: JSON
  29. jwt:
  30. pvt-key-file-name: RSA.key
  31. pub-key-file-name: RSA.pub
  32. duration: 1D #JWT 1天过期