No Description

application.yml 919B

123456789101112131415161718192021222324252627282930313233
  1. spring:
  2. jackson:
  3. date-format: yyyy-MM-dd HH:mm:ss
  4. time-zone: GMT+8
  5. profiles:
  6. #active: production
  7. active: dev
  8. servlet:
  9. multipart:
  10. max-file-size: 20MB #单个文件最大为20M
  11. max-request-size: 20MB #单次请求文件总数大小为20M
  12. # web:
  13. # resources:
  14. # static-locations: files
  15. mybatis-plus:
  16. global-config:
  17. db-config:
  18. #全局id策略 自增id,只有当插入对象ID 为空,才自动填充。
  19. id-type: auto
  20. #逻辑未删除 默认0 字段需要在@TableLogic注解
  21. logic-not-delete-value: 0
  22. #逻辑删除 默认1 字段需要在@TableLogic注解
  23. logic-delete-value: 1
  24. banner: off
  25. enable-sql-runner: true
  26. configuration:
  27. map-underscore-to-camel-case: true
  28. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  29. mapper-locations: classpath*:mapper/**/*Mapper.xml
  30. type-aliases-package: api.**.domain