application-dev.yml 793 B

12345678910111213141516171819202122232425262728293031323334353637
  1. server:
  2. port: 8087
  3. servlet:
  4. context-path: /attendance
  5. # 数据源
  6. spring:
  7. application:
  8. name: attendance
  9. main:
  10. allow-circular-references: true
  11. datasource:
  12. username: root
  13. driver-class-name: com.mysql.cj.jdbc.Driver
  14. password: root
  15. url: jdbc:mysql://127.0.0.1:3306/attendance?characterEncoding=utf-8&useSSL=FALSE&useAffectedRows=TRUE&allowMultiQueries=true&rewriteBatchedStatements=true&serverTimezone=GMT%2B8
  16. #配置文件传输的大小
  17. servlet:
  18. multipart:
  19. enabled: true
  20. file-size-threshold: 0
  21. max-file-size: 30MB
  22. max-request-size: 30MB
  23. mybatis-plus:
  24. mapper-locations: classpath:/mapper/attendance/*.xml
  25. # global-config:
  26. # db-config:
  27. # id-type: assign_id
  28. logging:
  29. level:
  30. com.chuanghai: error #debug