application-dev.yaml 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. spring:
  2. jackson:
  3. deserialization:
  4. fail-on-unknown-properties: true
  5. datasource:
  6. driver-class-name: com.mysql.cj.jdbc.Driver
  7. username: root
  8. password: Zr200012
  9. url: jdbc:mysql://localhost:3306/EAI?useSSL=false&serverTimezone=UTC&useUnicode=true&characterEncoding=utf8
  10. data:
  11. mongodb:
  12. uri: mongodb://admin:admin@localhost:27017/eai?authSource=admin
  13. authentication-database: admin
  14. mail:
  15. host: smtp.163.com
  16. port: 25
  17. username: seecoder2022@163.com # Seecoder的公共邮箱
  18. password: WEIHUIOOJYUFMZGV # 邮箱开启stmp的秘钥
  19. default-encoding: UTF-8
  20. # MyBatis配置
  21. mybatis-plus:
  22. mapper-locations: classpath:mapper/*.xml
  23. type-aliases-package: com/njuzr/eaibackend/po
  24. jwt:
  25. # jjwt密钥算法HS256,要求secret长度至少是256位
  26. secret: xTv@UA7e2q$*n&92AHo5Wj$@KAnguhxTv@UA7e2q$*n&92AHo5Wj$@KAnguhxTv@UA7e2q$*n&92AHo5Wj$@KAnguhxTv@UA7e2q$*n&92AHo5Wj$@KAnguhxTv@UA7e2q$*n&92AHo5Wj$@KAnguhxTv@UA7e2q$*n&92AHo5Wj$@KAnguhxTv@UA7e2q$*n&92AHo5Wj$@KAnguhxTv@UA7e2q$*n&92AHo5Wj$@KAnguh92AHo5Wj$@KAnguh92AHo5Wj$@KAnguh92AHo5Wj$@KAnguh
  27. issuer: eai
  28. expiration: 86400