application-dev.yml 742 B

12345678910111213141516171819202122232425262728293031323334
  1. server:
  2. port: 8888
  3. mybatis-plus:
  4. configuration:
  5. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 查看日志
  6. mapper-locations: classpath:mapper/*.xml #mapper的位置
  7. spring:
  8. datasource:
  9. driver-class-name: com.mysql.cj.jdbc.Driver
  10. url: jdbc:mysql://47.113.197.148:33306/test?serverTimezone=GMT%2B8&useSSL=false&characterEncoding=utf-8&allowPublicKeyRetrieval=true
  11. username: root
  12. password: om1020
  13. redis:
  14. host: 47.113.197.148
  15. password: om1020
  16. port: 6379
  17. database: 1
  18. jackson:
  19. date-format: yyyy-MM-dd HH:mm:ss
  20. time-zone: GMT+8
  21. mvc:
  22. pathmatch:
  23. matching-strategy: ant_path_matcher
  24. #jwt配置
  25. #密钥
  26. jwt:
  27. secret: opera
  28. expiration: 7200000 #过期时间2小时