application.yml 1014 B

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