application.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. spring:
  2. application:
  3. name: yudao-module-bpm-service
  4. # Jackson 配置项
  5. jackson:
  6. serialization:
  7. write-dates-as-timestamps: true # 设置 Date 的格式,使用时间戳
  8. write-date-timestamps-as-nanoseconds: false # 设置不使用 nanoseconds 的格式。例如说 1611460870.401,而是直接 1611460870401
  9. write-durations-as-timestamps: true # 设置 Duration 的格式,使用时间戳
  10. fail-on-empty-beans: false # 允许序列化无属性的 Bean
  11. # MyBatis Plus 的配置项
  12. mybatis-plus:
  13. configuration:
  14. map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。
  15. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 打印日志
  16. global-config:
  17. db-config:
  18. id-type: AUTO # 自增 ID
  19. logic-delete-value: 1 # 逻辑已删除值(默认为 1)
  20. logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)
  21. mapper-locations: classpath*:mapper/*.xml
  22. type-aliases-package: ${yudao.core-service.base-package}.modules.*.dal.dataobject
  23. --- #################### 芋道相关配置 ####################
  24. yudao:
  25. info:
  26. version: 1.0.0
  27. base-package: cn.iocoder.yudao.adminserver
  28. core-service:
  29. base-package: cn.iocoder.yudao.coreservice
  30. debug: false