application-dev.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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/operation_system?serverTimezone=GMT%2B8&useSSL=false&characterEncoding=utf-8&allowPublicKeyRetrieval=true
  11. username: root
  12. password: om1020
  13. hikari:
  14. max-lifetime: 500000
  15. redis:
  16. host: 47.113.197.148
  17. password: om1020
  18. port: 6379
  19. database: 1
  20. jackson:
  21. date-format: yyyy-MM-dd HH:mm:ss
  22. time-zone: GMT+8
  23. mvc:
  24. pathmatch:
  25. matching-strategy: ant_path_matcher
  26. servlet:
  27. multipart:
  28. max-file-size: 50MB
  29. max-request-size: 50MB
  30. #jwt配置
  31. #密钥
  32. jwt:
  33. secret: opera
  34. expiration: 86400000 #过期时间24小时
  35. # 手册视频上传路径
  36. files:
  37. upload:
  38. # path: /Users/wangwulin/Desktop/
  39. path: C:/temp/
  40. # 照片存放路径
  41. photo:
  42. tmp: C:/temp/Photo/